Stefan Neis
96ad3e4eb4
Bugfix (comparision vs. assignment).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 22:16:17 +00:00
Stefan Neis
d51aa8d87b
Added missing argument for DoGiveHelp.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:42:54 +00:00
Vadim Zeitlin
316ef03b27
compilation fix: don't try to convert wxString to bool, use empty() instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:38:05 +00:00
Vadim Zeitlin
07977ff28e
compilation fix: don't try to convert wxString to bool (apparently unnecessarily)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:35:21 +00:00
Vadim Zeitlin
c3b8bf3fb5
compilation fix: test correctly for filter string not being empty in MakeUserDataRec
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:23:52 +00:00
Robin Dunn
cf63f3d3ae
More patches from FM to clean up after moving contribs. Also removes
...
use of wxUSE_RESOURCES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 21:08:30 +00:00
Stefan Neis
79f45cf784
Rather use the "obvious" implementation of wxStaticText::DoGetLabel().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:49:07 +00:00
Stefan Neis
115de22f78
Tentative implementation of wxStaticText::DoGetLabel().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45278 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:42:29 +00:00
Stefan Neis
a8988cb339
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:31:02 +00:00
Stefan Neis
f450b5cf10
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 20:06:41 +00:00
Vadim Zeitlin
f8ab85ae72
handle child destruction notifications in wxTLW itself and reset both normal and temporary default item pointers when the default window is destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 19:22:38 +00:00
Vadim Zeitlin
d1cd787b75
more compilation and linking fixes for !wxHAS_NATIVE_TAB_TRAVERSAL after recent changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 19:16:07 +00:00
Vadim Zeitlin
15c1210982
compilation fix for VC7.1: add size_t overloads for arithmetic operators on wxStringImpl::iterator
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 19:08:21 +00:00
Stefan Neis
65f3f920ba
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 18:08:32 +00:00
Stefan Neis
08bee49e39
Compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45271 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 17:22:29 +00:00
Stefan Neis
1f3d991197
OS/2 specific compilation fix for wxCStrData handling.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-06 17:10:03 +00:00
Vadim Zeitlin
7c2b62db91
compilation fix for g++ 3 (and probably others) after the last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 22:33:16 +00:00
Vadim Zeitlin
bf0e8244d9
compilation fixes for generic TAB navigation after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 22:32:35 +00:00
Vadim Zeitlin
80332672ab
make wxControlContainer accept focus depending on whether it has any focusable children when using native TAB navigation too but also allow to manually override this automatic detection; added wxWindow::SetCanFocus() to notify GTK+ about changed focus state
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 22:29:14 +00:00
Vadim Zeitlin
30d560f4cf
wxString::[const_]iterator operators -= and += should return reference and not iterator object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:56:21 +00:00
Vadim Zeitlin
f2a1b1bd23
added overloads taking pairs of const char/wchar_t pointers for wxString methods working with const_iterators for backwards compatibility with old wxString::const_iterator which used to be convertible to/from const wxChar *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:55:29 +00:00
Vadim Zeitlin
a9dce709f5
added WX_ASSERT_STR_EQUAL helper macro for comparing wxStrings with C strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:54:29 +00:00
Václav Slavík
5064e6eff3
compilation fix for previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:47:35 +00:00
Václav Slavík
11aac4baa6
provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:28:14 +00:00
Robin Dunn
633566f6ef
Compile fix for gcc on MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:28:28 +00:00
Robin Dunn
18cea8715a
Patch from FM with more bakefile tweaks and etc.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 18:26:59 +00:00
Benjamin Williams
d51beb8834
avoid assert in window list drop down
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 16:31:23 +00:00
Václav Slavík
3ad2d97259
compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 15:38:36 +00:00
Vadim Zeitlin
4bd5322403
use wxINT32_MIN, not LONG_MIN, in wxDateTime default ctor to fix it under LP64 platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 15:01:48 +00:00
Vadim Zeitlin
05059b3a48
changed wxLongLongNative(hi, lo) ctor to take wxInt32, not long, as it was completely broken on LP64 architectures otherwise
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 15:00:24 +00:00
Vadim Zeitlin
8279e59a61
define C99-like wxINT8/16/32_MIN/MAX constants in addition to wxInt8/16/32 types
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:58:58 +00:00
Vadim Zeitlin
4a9eae369e
corrected signed/unsigned comparison warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:21:55 +00:00
Vadim Zeitlin
9b59b90cda
fix another warning about unused variable in DoCStrDataTernaryOperator()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:19:18 +00:00
Vadim Zeitlin
abc505b493
fix warning about unused variable in DoCStrDataTernaryOperator()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 12:41:19 +00:00
Vadim Zeitlin
5149f75b93
construct wxBasicString directly from wxString instead of passing by mb_str(): this is completely unnecessary (and also happens not to compile in Unicode build currently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 09:58:13 +00:00
Vadim Zeitlin
3c771d6191
fix typo in allowOthers description
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 09:33:42 +00:00
Václav Slavík
8a540c887c
made wxString::Replace, Matches and Find work with any form of string argument
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 08:35:39 +00:00
Robin Dunn
54429bb380
Bakefile and other changes for new locations of STC and wxSVGFileDC.
...
Remove old files in contrib.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 06:27:23 +00:00
Vadim Zeitlin
c45ead7b4b
compilation fix for Unicode build: remove ambiguity arising when trying to pass wxCharBuffer to wxBasicString ctor which is overloaded for const char * and wxString by passing it directly wxString instead of calling mb_str() on it first
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 23:41:40 +00:00
Vadim Zeitlin
6ae2a4b72f
don't call OnMouseEnter(-1) twice when the mouse leaves the toolbar but wasn't over a tool before
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 13:38:37 +00:00
Václav Slavík
e8f5903971
build fixes after previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 11:40:36 +00:00
Vadim Zeitlin
33c2a4b7e2
call SetEventObject() for wxHtmlLinkEvents we generate
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-04 02:00:32 +00:00
Václav Slavík
04abe4bc8f
cleanup of wxString ctors and operator=: made both char* and wchar_t* versions available, regardless of the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 20:29:42 +00:00
Robin Dunn
9859d369b4
Use our own getters and properties for wxVisualAttributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:42:01 +00:00
Vadim Zeitlin
6d99eb3e37
Undid last commit and restored bool argument to wxFrame::DoGiveHelp() as
...
removing it could silently break existing user code overriding this function.
Fix the problem with not restoring the original status bar text when the mouse
pointer left the toolbar by simply calling DoGiveHelp() with false as second
parameter only if there was no valid tool under mouse, not if the help string
(for a valid tool) was empty.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 18:04:44 +00:00
Vadim Zeitlin
05492dd1eb
removed unnecessary checks for m_clipboard/targetsWidget being non-NULL in dtor: they're used without these checks in many other places anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 15:12:31 +00:00
Vadim Zeitlin
fef0a330e9
removed second parameter of wxFrame::DoGiveHelp(), the help string is always shown (even if it's empty), not hidden; this hopefully really fixes restoring the previously shown status bar text when the menu is dismissed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 11:27:53 +00:00
Václav Slavík
add4bb4044
BCC5.5 compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 10:36:40 +00:00
Václav Slavík
50eeb96fbe
compilation fix for BCC5.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 10:06:08 +00:00
Václav Slavík
b39fc8d7b1
fixed wxBitmap<->wxImage conversion to not exchange red and blue components
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-03 08:46:53 +00:00