Commit Graph

13180 Commits

Author SHA1 Message Date
Vadim Zeitlin
27bb2c8cb7 generate wxEVT_GRID_{COL,ROW}_SIZE events when the user double clicks the separating line too; do not generate these events if the size didn't really change (further improvements to grid events are possible and remain needed, see #10754)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-29 21:59:10 +00:00
Vadim Zeitlin
ab826fd86f don't duplicate wxMouseState in wxMouseEvent but reuse its methods and variables (somehow this was never done when wxMouseState was introduced)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-29 21:42:30 +00:00
Jouk Jansen
c437b3f4e4 Do not use Tooltips if they are disabled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-28 11:13:11 +00:00
Robert Roebling
e1bdb16a91 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-28 09:39:52 +00:00
Vadim Zeitlin
5e1d513ea3 make it possible to forward declare the class defined by WX_DECLARE_HASH_SET (fixes the build on systems where unordered_set is available after r60408)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-27 13:26:19 +00:00
Vadim Zeitlin
82edfbe7d9 add a possibility to disable individual grid rows/columns resizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 17:02:53 +00:00
Vadim Zeitlin
fa531da023 wxHashSet::count() method should be const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 16:50:24 +00:00
Francesco Montorsi
8f99e9c314 typo fix (strangely VC9 doesn't consider it an error)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 14:38:55 +00:00
Vadim Zeitlin
c173e541b8 add parent parameter to wxAboutBox() (closes #9952)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 13:41:21 +00:00
Francesco Montorsi
6418ad5ec8 Add support for wxSTB_ELLIPSIZE_* and for wxSTB_SHOW_TIPS flags under wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 13:37:16 +00:00
Vadim Zeitlin
a3ef8eb503 set correct EOL style for files added in r58024
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-26 10:52:13 +00:00
Vadim Zeitlin
3aaaf1aaa0 add support for table border width attribute (closes #10610)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 23:19:04 +00:00
Vadim Zeitlin
c767a5bbfe optimize FindItem(data) performance (closes #9870)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 22:31:48 +00:00
Vadim Zeitlin
7491aa2e0b another typo correction after last change, correct the return types too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 17:18:31 +00:00
Vadim Zeitlin
4c709bdd6a compilation fix after the latest change (typo: used char instead of wchar_t)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 15:58:21 +00:00
Vadim Zeitlin
d5e71e81ec more order in wxCRT_filefunctions: define A and W versions, just as for everything else and simply map suffix-less versions to the appropriate ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 15:53:45 +00:00
Vadim Zeitlin
4691b518df Cygwin doesn't have _wcsdup() (closes #10738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:48:19 +00:00
Vadim Zeitlin
e9b6485645 define wxStrchr(non-const char-or-wchar_t*) as a template to ensure that second parameter of any type that can be used with const version can be used with this one too; this is shorter than listing them all explicitly and without this Borland refuses to compile wxStrchr(char *, wxUniChar) (see #10736)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:12:32 +00:00
Vadim Zeitlin
1b5f83357d disable wxGC for Borland as it can't compiler the macros used in msw/gdiplus.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:08:05 +00:00
Vadim Zeitlin
a2d03e4c51 workaround for Borland compilation: don't use unspecified_bool_type for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 14:07:15 +00:00
Vadim Zeitlin
4bf3e3a702 build fixes for Borland in wxUSE_UNICODE_MSLU and wxHAS_HUGE_FILES cases; only define one of wxMSLU__wstat and wxMSLU__wstati64; also define wxStructStat as 64 bit version of struct stat if needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:52:58 +00:00
Vadim Zeitlin
88eb6b7c8b make wxSTRING_BASE_HASNT_CLEAR check more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:19:27 +00:00
Vadim Zeitlin
3795f11ff2 define __EVC4__ for eVC 4 compiler to make testing for it easier
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:16:59 +00:00
Vadim Zeitlin
8f823da835 set wxUSE_STD_IOSTREAM to 0 for eVC which doesn't provide the standard streams (see #10718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:08:38 +00:00
Vadim Zeitlin
b808834950 eVC4 version of std::string doesn't have clear() neither (see #10718)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 13:04:22 +00:00
Francesco Montorsi
c4c178c10d use wxSTB_ as prefix for wxStatusBar styles; add support for wxSTB_ELLIPSIZE_* flags under wxGTK; support wxSTB_SHOW_TIPS even if no ellipsization mode is active; update the sample to allow the user to choose the wxStatusBar style dynamically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 12:59:09 +00:00
Francesco Montorsi
39cdc95fb3 allow windows which are placed inside wxStaticBoxes to be built as children of the wxStaticBox itself rather than forcing users to build them as siblings of the static box (closes #9859)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-25 10:49:36 +00:00
Francesco Montorsi
30800ba5e4 fix push/pop mechanism after r58786; add a few notes about the stack mechanism both in the docs and in the public header (see #10733)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-24 21:14:59 +00:00
Francesco Montorsi
c94bdf2a19 implement tooltips for wxStatusBar panes whose contents were ellipsized; introduce wxST_SHOW_TIPS and wxST_DEFAULT_STYLE styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 11:10:44 +00:00
Francesco Montorsi
9b49405777 no real change; just add the standard separator where it's missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-21 00:05:14 +00:00
Vadim Zeitlin
89574e1d55 blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes #10714)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 12:23:51 +00:00
Stefan Csomor
0698ed3ca8 removing overloads to avoid 'hidden method' warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-18 11:10:40 +00:00
Vadim Zeitlin
ac26ed15ac really fix compilation with wxEVENTS_COMPATIBILITY_2_8 after r60212
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-17 00:35:58 +00:00
Vadim Zeitlin
e1614128e1 compilation fix for wxEVENTS_COMPATIBILITY_2_8 build after r60212
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 22:41:52 +00:00
Vadim Zeitlin
0fe243db0c remove wxNewEventFunctor() overload which allowed calls to "Bind(evt, &WrongClass::method)" to compile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 21:23:28 +00:00
Jaakko Salli
16372f0d97 wxFlagsProperty now automatically relays wxBOOL_USE_CHECKBOX and wxBOOL_USE_DOUBLE_CLICK_CYCLING to child bool properties (closes #10690)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 19:28:39 +00:00
Vadim Zeitlin
b18e2046af pass wxIntPtr, not wxUIntPtr, to wxListCtrl::SortItems() callback as it's more compatible with the existing code assuming that this parameter is signed (as our own wxFileCtrl did)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-16 13:00:40 +00:00
Vadim Zeitlin
113f623379 remove dll export declaration from wxCStrData now that all its methods are inline (fixes mingw32 warning in DLL build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:31:33 +00:00
Vadim Zeitlin
6e2f308461 use wxUIntPtr instead of long for 3rd parameter of wxListCtrl::SortItems() to allow passing pointers to it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 21:23:50 +00:00
Stefan Csomor
50b5e38d3f textctrl fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-15 19:44:51 +00:00
Stefan Csomor
d9d551f6a2 adapting TextUpdateEvents, using wxTextEntry API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 20:09:39 +00:00
Stefan Csomor
c443ff6f53 fixing native font info support bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 19:58:51 +00:00
Vadim Zeitlin
ff3fd98a08 remove semicolon from wxDECLARE_EVENT; having it there was inconsistent with other wxXXX_EVENT macros and generally unexpected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 12:47:46 +00:00
Václav Slavík
fb5ae4f6d9 (blind) fix for VC6s' warning about non-dll base template class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-14 07:02:59 +00:00
Vadim Zeitlin
582886dde5 return empty string instead of NULL from mb_str()/wc_str() when conversion fails to avoid crashing badly written code which doesn't check for conversion failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-13 17:48:11 +00:00
Vadim Zeitlin
f20e268907 fix g++ warnings about initialization order mismatch after the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:43:04 +00:00
Vadim Zeitlin
75ac34cefc fix support for using asterisks in the format string and some code cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 23:37:28 +00:00
Vadim Zeitlin
f54cb154d5 return persistent buffers from mb_str()/wc_str() to allow assigning the returned value to simple pointers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 19:49:45 +00:00
Francesco Montorsi
34be948fdb no real change; just fix the argument name of the wxFont(const wxString&) ctor under wxGTK since it was misleading
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 16:06:43 +00:00
Václav Slavík
ed5e656088 fixed wxString::utf8_str() in UTF8 build to return buffer with length
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-04-12 10:12:44 +00:00