Commit Graph

12127 Commits

Author SHA1 Message Date
Vadim Zeitlin
433aca2d0d extract button size calculation from button label size to a separate function to allow reusing it elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 14:10:50 +00:00
Vadim Zeitlin
e328b97245 extract wrapper for SystemParametersInfo(SPI_GETNONCLIENTMETRICS) in a header so that it could be reused from elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 13:26:45 +00:00
Robert Roebling
3ad41c280f Add wxCRITSEC_DEFAULT and NON_RECURSIVE styles, updated and restored wxThread and related docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 08:06:07 +00:00
Vadim Zeitlin
ecc63060e7 show the "Window" menu only when we have any MDI children, it's unnecessary otherwise; some minor formatting/comments changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 12:47:53 +00:00
Kevin Ollivier
b276795186 Split utility functions into base (in utilsexc_base.cpp) and gui (src/osx/carbon/utils.cpp for Carbon-specific ones) to ensure proper builds under multi-lib config.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:16:18 +00:00
Stefan Csomor
ca9e2173a6 gcc is too aggressively hiding these inlines on wxCriticialSection on osx, expose them for wxPython
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 06:26:24 +00:00
Vadim Zeitlin
278f584fed add wxSP_THIN_SASH for completeness (#9902)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 20:26:47 +00:00
Benjamin Williams
9578058d4e fixed a problem in the aui toolbar flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 14:45:47 +00:00
Benjamin Williams
e42f2c165f make members private in various wxAuiToolBar helper classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 14:06:26 +00:00
Vadim Zeitlin
6502dc6823 add more wxUSE_XXX checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 07:29:31 +00:00
Vadim Zeitlin
9da38912d3 include wx/control.h for the base class declaration (part of #9931)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-03 07:28:03 +00:00
Stefan Csomor
de24bdf2d4 warning fixes and fix for non precomp builtbot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 18:54:03 +00:00
Stefan Csomor
524c47aa3a osx new layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 16:53:23 +00:00
Stefan Csomor
5712a1f5fb listctrl generic is used outside of osx-carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 11:52:20 +00:00
Stefan Csomor
973b546e8e forward to generic implementations where the corresponding osx variant doesn't have an implementation yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-02 11:50:44 +00:00
Robert Roebling
c71ab7c15c use gtk_block_event instead of m_block event field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 08:27:56 +00:00
Stefan Csomor
f4ef4722ac more common osx types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 07:17:20 +00:00
Vadim Zeitlin
eea2be6ca3 define wxStringSortAscneding/Descending() even in non-STL build for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-01 00:50:40 +00:00
Paul Cornett
1224b8a386 silence warning with GCC -Wextra
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 23:48:33 +00:00
Paul Cornett
ef6ece2352 remove declaration for ctor which is never defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 15:27:12 +00:00
Vadim Zeitlin
8c3b65d941 rename ShowCacheStats to wxStrCacheStatsDumper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 15:07:12 +00:00
Vadim Zeitlin
ad8ae78878 call GetCache() from a global object ctor to ensure that it is done before any threads are created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 14:57:53 +00:00
Vadim Zeitlin
0514adaf75 fix compilation for wxUSE_STD_STRING==0 case after latest change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 14:41:26 +00:00
Vadim Zeitlin
9c7c6fa27b fix wxUSE_STL compilation after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 14:39:08 +00:00
Vadim Zeitlin
302acc453d define wxString::iterator::iterator_category correctly if wxUSE_STD_STRING and not only if wxUSE_STL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-31 14:15:05 +00:00
Vadim Zeitlin
2c6dbc21b9 no changes, just de-TAB-bed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 22:01:20 +00:00
Stefan Neis
f35f85a99c Added implementation of thread local storage for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:55:09 +00:00
Vadim Zeitlin
4aeb71a4d2 fix another occurrence of g++ 3.3 problem with deprecated ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:27:44 +00:00
Stefan Neis
d3b9a3fd36 Workaround for bug in gcc-3.1 through gcc-3.3 in handling deprecation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:21:49 +00:00
Vadim Zeitlin
a8be206acc no changes, fix typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 21:08:43 +00:00
Vadim Zeitlin
58bd9838c5 implement operator!=() inline (forgot to commit before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 16:30:03 +00:00
Vadim Zeitlin
0475d322f7 use C99 isfinite() for 64 bit mingw32 instead of BSD-ish finite() which it apparently doesn't have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:55:43 +00:00
Vadim Zeitlin
98225d0279 test for __MINGW64__ in the huge files support section
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:52:47 +00:00
Vadim Zeitlin
d12fd3ebcf define HAVE_SSIZE_T if _SSIZE_T_DEFINED is defined for mingw32 (#9921)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-30 12:49:13 +00:00
Vadim Zeitlin
8b73c5318c chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 23:28:42 +00:00
Paul Cornett
48200154f4 replace m_insertCallback with a virtual function, contrary to the old comments a virtual works just fine
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 15:46:48 +00:00
Robert Roebling
2038034368 Fix #9917: File save dialog does not honor file extension on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:57:03 +00:00
Vadim Zeitlin
b053bf9ef4 don't use new string caching code without compiler TLS support (temporary fix to compilation problems)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 21:50:10 +00:00
Vadim Zeitlin
af912213b3 compilation fix for non-UTF-8 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:39:23 +00:00
Vadim Zeitlin
68482dc584 add cache for last used position and string length to UTF-8 wxString, dramatically improving performance of the code using indices to iterate over strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 19:19:11 +00:00
Vadim Zeitlin
eaf6da0746 use std::sort() instead of qsort() to implement wxArrayString::Sort(), this makes it thread-safe without any extra hacks and also makes the code simpler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 19:40:20 +00:00
Paul Cornett
0d0b57acec get system colors directly from GTK styles, eliminating need for cached wxColor objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 17:10:36 +00:00
Stefan Csomor
0b134cd00d fixing #9910
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55308 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 08:18:30 +00:00
Vadim Zeitlin
f3d7473941 add a scoped_ptr-like wxGtkObject class which calls g_object_unref() automatically and use it in some GC-related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 01:06:58 +00:00
Vadim Zeitlin
98d8a7ece5 honour user scale and source offset in wxDC::Blit() (#2605)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 00:52:13 +00:00
Paul Cornett
d2cb636a1f put wxIconArray back in header, it's used by wxFSVolume
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:34:22 +00:00
Paul Cornett
9ff9d30c0a Hold a reference on m_widget for the life of the associated wxWindow object.
This allows removing some ugly hacks, and leaking of GtkWidgets by wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:19:23 +00:00
Václav Slavík
22188d7396 pch-less compilation fix for r55285
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:29:38 +00:00
Václav Slavík
6bd4f2812d fixed writing to wxUniCharRef after its 'parent' iterator was destroyed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:02:38 +00:00
Paul Cornett
24af522c43 move wxIconArray declaration out of header, remove unneccessary copy ctor and assignment operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 06:34:34 +00:00
Vadim Zeitlin
410201d988 added UnsetToolTip() which is also provided (as empty function) in wxUSE_TOOLTIPS==0 case unlike SetToolTip(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 23:19:04 +00:00
Vadim Zeitlin
1a7cfc94a3 compilation fixes for wxUSE_CONSOLE_EVENTLOOP==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 19:23:26 +00:00
Vadim Zeitlin
cbb003b105 sometimes unused parameter warnings are really worth paying attention to
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-25 00:36:00 +00:00
Benjamin Williams
1154f91b6a added wxAuiToolBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-24 09:28:07 +00:00
Vadim Zeitlin
917fe2f242 fix a couple of spelling errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 22:27:03 +00:00
Julian Smart
44bcee116e Cleanup of previous fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 11:32:23 +00:00
Robert Roebling
de2fcf0332 #9854 (AddPendingEvent - protect during wxEvtHandler destruction)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-22 09:18:30 +00:00
Vadim Zeitlin
fe9fb970bb compilation fix for wxUniv/GTK (closes #9849)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 22:12:43 +00:00
Julian Smart
afb0d55c83 Fixed default margin sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-21 16:08:32 +00:00
Václav Slavík
fda71b397a re-fix MinGW DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-20 21:35:55 +00:00
Paul Cornett
a99bcb5e5e non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-19 16:28:21 +00:00
Vadim Zeitlin
aa74cc2120 don't use WXDLLIMPEXP_BASE_DATA() around member data, this results in an error in MSVC DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 19:52:00 +00:00
Vadim Zeitlin
bfafa6288f don't terminate the event loop in EndModal() if it was already terminated because of an exception thrown inside it (#9838)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:51:53 +00:00
Vadim Zeitlin
2753fd96ff add comparison operators for UUID class (#9871)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55113 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-18 11:30:10 +00:00
Vadim Zeitlin
d026fee446 compilation fix for wxUniv/MSW after r54937 (#9866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-15 23:01:28 +00:00
Václav Slavík
03af437f75 made wxCharTypeBuffer<T>::release() const again, for compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-12 15:10:57 +00:00
Václav Slavík
7113846bc8 DLLs linking fix wxCharTypeBuffer<T>::NullData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:41:10 +00:00
Václav Slavík
e00d33048d pch-less compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:40:48 +00:00
Václav Slavík
95691abd43 radically simplified declarations of wxUString-specific char buffers: there are no compatibility concerns, so they can simply be typedefs for wxCharTypeBuffer<T>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 20:28:20 +00:00
Václav Slavík
5c1de526d2 added refcounting to wxCharBuffer to fix passing of wxCharBuffer to printf-like functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-10 19:37:51 +00:00
Vadim Zeitlin
dd79ca2fd8 undid changes accidentally committed as part of r55019
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 19:00:19 +00:00
Vadim Zeitlin
64a044d5a6 added wxTLS_TYPE() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
375a5d3a93 add DECLARE_NO_COPY_TEMPLATE_CLASS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:37:56 +00:00
Václav Slavík
14440cc658 small wxArtProvider API improvements: added HasNativeProvider() and renamed confusingly-named Insert() to PushBack()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 11:46:59 +00:00
Paul Cornett
f1d5aa4eca fix sizing of extra control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-07 06:51:10 +00:00
Paul Cornett
a1cb0b110e use "new" GtkToolbar API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 16:26:16 +00:00
Vadim Zeitlin
16882c9e37 correct use of WXDLLIMPEXP_BASE for wxChar16 wxStrlen() overloads (#9827)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 17:13:03 +00:00
Vadim Zeitlin
6d9b671692 mark holidays if wxCAL_SHOW_HOLIDAYS is on (replaces #9155)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-05 01:55:44 +00:00
Vadim Zeitlin
c77049a04b general docview.cpp code cleanup; use wxVector<> instead of manually-allocated arrays; refactor wxDocManager::CreateDocument() and allow using wxDOC_SILENT with wxDOC_NEW; cleanup wxFileHistory code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-04 00:37:00 +00:00
Vadim Zeitlin
a470957ada fix fatal bug in wxVector copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 23:58:24 +00:00
Benjamin Williams
45ca0e7750 fix mouse capture lost assert when dialog shown in tab change event handler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 13:58:08 +00:00
Vadim Zeitlin
4af4dec65f compilation fix for PCH-less build; also moved some functions out of line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 12:24:25 +00:00
Vadim Zeitlin
9016f3ad73 add support for multiline labels in wxToggleButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 11:47:01 +00:00
Vadim Zeitlin
118a41d993 added wxSHUTDOWN_LOGOFF flag, don't use EWX_FORCE by default but only if wxSHUTDOWN_FORCE is specified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-03 10:56:05 +00:00
Vadim Zeitlin
604fba2d34 made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared (#9685)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:49:01 +00:00
Vadim Zeitlin
1c2b921a1c don't use our custom WM_PAINT handler with composited window as this results in an endless repaint loop (#9666); also don't even define HandlePaint() under CE as it's never used there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:34:37 +00:00
Vadim Zeitlin
d66d050088 add wxGet/Set/HasWindowExStyle() helpers and use them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:30:05 +00:00
Vadim Zeitlin
e8759560f8 add wxRenderer::GetCheckBoxSize(); refactor wxGTK code to avoid duplication (#9642)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 21:51:22 +00:00
Vadim Zeitlin
9d1c7e8474 add wxImage::SetType() and use it in animation decoders (#9639)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 20:13:41 +00:00
Vadim Zeitlin
05d31b3aca fix keyboard navigation in radio boxes containing hidden or disabled items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 19:45:23 +00:00
Vadim Zeitlin
8758875e0b added enabled and hidden attributes to radio box items in XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 18:21:38 +00:00
Vadim Zeitlin
707d9f4047 VC6 compilation warning fix for non-defined template class copy ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 13:10:33 +00:00
Stefan Csomor
da712b51d4 guarding preproc variable against undefined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 04:47:39 +00:00
Vadim Zeitlin
328fafa1db capitalize the application name in GetAppDisplayName() by default; this results in logging message appearance consistent with wx 2.8 and generally looks better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:47:22 +00:00
Vadim Zeitlin
0c7db140c5 add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
Vadim Zeitlin
6b1eedc1bb add more stock items (#9799)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 14:38:02 +00:00
Vadim Zeitlin
4c7b2d367e build fix for wxGTK/Univ build (#9706)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:53:05 +00:00
Vadim Zeitlin
3e97a90518 use a single wxBookCtrlEvent class for all wxBookCtrlBase-derived controls (#9667)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 13:46:46 +00:00
Robert Roebling
676a568708 Forgot to commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 12:05:46 +00:00
Robert Roebling
6090d53c8a Compilation for wchar mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 07:16:49 +00:00