Commit Graph

12082 Commits

Author SHA1 Message Date
Stefan Csomor
21a9d32634 forward define for non precomp build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:03:42 +00:00
Vadim Zeitlin
e08931c05a make it possible to use stock ids for custom message box labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 18:02:49 +00:00
Vadim Zeitlin
9276358892 added support for custom labels in wxMessageBox for wxGTK too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 17:27:20 +00:00
Stefan Csomor
1e181c7a2c simplify native textcontrol creations, adding search control for cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 14:41:11 +00:00
Vadim Zeitlin
23e00c551b implement support for custom button labels in wxMessageBox under MSW; refactor the code to reuse the existing setters in Mac ports for MSW as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-05 14:39:36 +00:00
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