Commit Graph

11869 Commits

Author SHA1 Message Date
Vadim Zeitlin
f05114174f oops, added missing #endif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 10:45:47 +00:00
Vadim Zeitlin
13d4419b86 only declare AddProcessCallback for wxMotif and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 10:44:06 +00:00
Julian Smart
0ce52f3d4e Try standard XDG location for documents directory
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 13:52:39 +00:00
Robert Roebling
e51bf69961 Adapt MSW's renderer's alignment to use column header's alignment by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 11:17:54 +00:00
Robert Roebling
f2b7492a88 By default, align renderers as column header under GTK+, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-08 10:39:57 +00:00
Robin Dunn
26c093da54 wxVideoMode is a class not a struct
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 18:53:16 +00:00
Robin Dunn
f139915040 fix typedef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 18:52:31 +00:00
Robert Roebling
e39de7022c Split wxDataViewVirtualModel fork wxDataViewIndexModel to make the code clearer and let wxDataViewIndexModel behave the same on all platforms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 09:27:21 +00:00
Vadim Zeitlin
c3a899dd92 correct positioning of the control and removed workarounds for old MSW bugs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-07 01:06:57 +00:00
Robert Roebling
69fb24ce03 Fix compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:31:25 +00:00
Vadim Zeitlin
ddf13afcfe no changes, just fix typo in variable name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 20:02:52 +00:00
Vadim Zeitlin
87e024f7d5 delay setting the window shape until it is realized (slightly modified patch 1935497)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 16:14:49 +00:00
Vadim Zeitlin
fa7134b05a use kind, not id, of a menu item to test whether it's a separator: this allows having separators with ids other than wxID_SEPARATOR in case it's useful to distinguish between them (patch 1929039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:55:42 +00:00
Vadim Zeitlin
9c2b4cab93 removed (unused) occurrences of _WX_DEFINE_DATE_EVENTS_ (part of patch 1927817)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:41:47 +00:00
Francesco Montorsi
3fedffdc05 give a name to the enumeration of the values which can be passed to OnDrawItem to make it easier to document it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:35:21 +00:00
Francesco Montorsi
e46fcdb43b documented wxVideoMode (otherwise wxDisplay docs are not very useful)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:34:05 +00:00
Vadim Zeitlin
a7507230d1 corrected inverted test in IsEmpty() (patch 1936052)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 15:25:41 +00:00
Vadim Zeitlin
0367b92891 document Alloc() vs returning bool (part of bug 1933693)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:50:16 +00:00
Vadim Zeitlin
823aaeb9c4 include the headers needed for its compilation from the header itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 17:05:57 +00:00
Robert Roebling
0bdfa38835 Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-05 12:09:15 +00:00
Vadim Zeitlin
3ccd1b4987 set focus to the control when it's clicked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 23:07:55 +00:00
Vadim Zeitlin
8354b47d96 make GenerateEvent() public again to fix wxGTK compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 22:25:43 +00:00
Vadim Zeitlin
db0b0942f8 implemented toggling of wxCAL_MONDAY_FIRST in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:35:43 +00:00
Vadim Zeitlin
82c6027b47 implemented Mark() in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 16:26:39 +00:00
Vadim Zeitlin
b3ed70208b generate double click events in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:49:08 +00:00
Vadim Zeitlin
a4fcd589a8 generate the correct events in the native MSW version of wxCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 15:26:37 +00:00
Vadim Zeitlin
ee22a3a2a6 implemented HitTest() in the native MSW version; added test for it to the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 14:58:44 +00:00
Vadim Zeitlin
5131749617 initial native implementation of wxCalendarCtrl for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-04 04:17:03 +00:00
Robin Dunn
6a079bc1f0 Fix for potential layout glitches in wxGridBagSizer when items span cells but
some other item affects the size of one of spanned rows/cols.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 02:50:15 +00:00
Vadim Zeitlin
9fdb68d985 wxMac compilation fix: must explicitly qualify non-dependent MacSetClipChildren() in wxScrolled::Create()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 13:51:30 +00:00
Stefan Neis
a93cf225f7 Added detection of vsscanf and whether or not a prototype exists in headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-02 12:05:27 +00:00
Vadim Zeitlin
bf956fac0e move all appearace-related methods down to wxCalendarCtrlBase from wxGenericCalendarCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 23:43:34 +00:00
Vadim Zeitlin
09902c517e wxMimeTypesManagerImpl and wxFileTypeImpl are in base, not core
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:48:55 +00:00
Stefan Neis
db3df3c493 Another attempt at fixing Watcom compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 22:19:25 +00:00
Stefan Neis
d897635497 Added header needed for Solaris to find finite() prototype.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 19:43:41 +00:00
Václav Slavík
f2a6c918e8 compilation fix for wxMSW and r52961
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:40:49 +00:00
Václav Slavík
16361ec941 Generalized wxScrolledWindow into wxScrolled<T> that can derive from
anything (typically wxPanel or wxWindow). Fixed generic wxListCtrl to
use wxScrolled<wxWindow> - this fixes focus problems with label-editing
text control. Fixes to wxScrolledWindow doxygen docs.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-01 15:07:03 +00:00
Vadim Zeitlin
c8f80d2758 throw away the now invalid items in wxSelectionStore::SetItemCount() (bug 1929823) and added a unit test for this class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 15:22:10 +00:00
Vadim Zeitlin
4cfcb00f00 store selected indices as unsigned int, not size_t, in wxSelectionStore, we don't need to waste twice the memory needed under Win64
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-31 14:42:07 +00:00
Václav Slavík
43a302f200 added wxXmlNode::InsertChildAfter and use it for (much) faster XML parsing (based on patch by Francesco Montorsi)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-30 10:27:19 +00:00
Václav Slavík
5e05df3c7f 1. fixed wxXmlNode::InsertChild() documentation to match the code
2. added tests for InsertChild()
3. simplified InsertChild() code without changing what it does

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 22:55:35 +00:00
Stefan Neis
6b5c2d5262 OS/2 port: reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType
instead of "long" where possible; made them const-correct etc. (see r52820)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-29 19:34:37 +00:00
Francesco Montorsi
231b9591aa add more pure virtuals to wxBrushBase; fix the GetColour() functions to return a wxColour object and not a reference; remove from docs the non-existent SetColour(const wxString&) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 16:47:58 +00:00
Vadim Zeitlin
628e155d8c added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 02:47:12 +00:00
Robin Dunn
6c09235ca1 Fix line endings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:26:13 +00:00
Robin Dunn
c0a4c58aca A bit of cleanup for STC's use of PopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:25:03 +00:00
Francesco Montorsi
2fd0ada578 final fixes to [a-b]*h headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 21:14:31 +00:00
Vadim Zeitlin
d2a48d5cbc added convenient wxON_BLOCK_EXIT_SET() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 16:13:50 +00:00
Vadim Zeitlin
51c679d5e2 added convenient wxON_BLOCK_EXIT_THISn() macros wrapping wxON_BLOCK_EXIT_OBJn(*this)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 15:37:41 +00:00
Francesco Montorsi
2f46438b36 added the rungccxml.sh script and the setup_gccxml.h file to make it easier to generate the gccxml output for ifacecheck
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 16:40:54 +00:00
Francesco Montorsi
53a2db124c substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 15:06:00 +00:00
Stefan Csomor
5df8beb1d9 moving tlw list up, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:36:11 +00:00
Francesco Montorsi
e86f2cc84a reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 20:31:48 +00:00
Vadim Zeitlin
b2c31e32de implement wxListItem::operator=()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 13:45:40 +00:00
Stefan Csomor
53b9afdefb make popup on mac behave as on msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:39:43 +00:00
Stefan Csomor
ce4cf38592 turning off QuickDraw on the iPhone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:32:45 +00:00
Stefan Csomor
96bd18d58b addind nonowned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:31:44 +00:00
Stefan Csomor
a29567c821 addind nonowned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:30:54 +00:00
Stefan Csomor
e333075415 addind nonowned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:29:03 +00:00
Stefan Csomor
074ec0b565 addind nonowned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:27:48 +00:00
Stefan Csomor
a69476643b addind nonowned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:27:14 +00:00
Stefan Csomor
e05a9196a7 addind nonowned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:26:01 +00:00
Vadim Zeitlin
d7ef641d4e fix wxExecute() compilation in ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 23:13:12 +00:00
Francesco Montorsi
020eeaa8d9 add backward compat FindOrCreateFont
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-24 12:04:34 +00:00
Stefan Neis
09b67c660c Compilation fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 19:12:15 +00:00
Stefan Neis
1aca6611e6 Updated brush/pen implementation for OS/2 to current implementation style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 17:41:16 +00:00
Vadim Zeitlin
fcda20eb04 suppress warnings about hiding virtual functions in wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 15:57:47 +00:00
Vadim Zeitlin
1f2e566742 yet more compilation fixes after brush/pen style changes: remove trailing commas from enums
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 15:53:15 +00:00
Stefan Neis
4d98fefce7 Fixed compilation after wxBrushStyle/wxPenStyle changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 14:54:09 +00:00
Stefan Neis
5c80fea840 Compilation fix (CreateTimerImpl is taken from timerunx.cpp, so not inline).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 14:41:14 +00:00
Vadim Zeitlin
05718a98f9 avoid needless Unicode<->MB conversions in Unix wxExecute(); simplify the code; provide both versions taking char** and wchar_t** for compatibility; also use wxMacExecute() (renamed to wxMacLaunch() to avoid confusion) from all wxExecute() overloads but don't use it if wxEXEC_SYNC was requested as it doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 02:27:23 +00:00
Francesco Montorsi
b5cc5cbd66 use wxEmptyString as default value to return from GetAttribute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 22:54:07 +00:00
Vadim Zeitlin
4dd3e8ec48 no changes, just removed unnecessary forward declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 20:10:40 +00:00
Vadim Zeitlin
e528a71bf1 don't use negative PID hack in GUI neither, add a separate flag to wxEndProcessData for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 15:37:16 +00:00
Vadim Zeitlin
3bbd09c34c get rid of traits functions unnecessary now that wxExecute() works in both base and GUI ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:15:28 +00:00
Vadim Zeitlin
33343395da fixed IO redirection to work in wxExecute() in console applications (including the case when the child process outputs more than pipe buffer size) by using wxSelectDispatcher for multiplexing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:10:54 +00:00
Vadim Zeitlin
a83ca5fbf5 use wxGUIAppTraits::WaitForChild() in wxMac too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:12:47 +00:00
Vadim Zeitlin
947f3b358c fix warnings about unused parameters/variables in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:11:37 +00:00
Francesco Montorsi
5c7b506103 use wx-style header and commets; fix indentation to be 4 spaces; move Doxygen comments in a new interface header; deprecate SetBrowser() in favour of SetViewer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:06:30 +00:00
Vadim Zeitlin
fdf7ff738c make wxSelectDispatcher ctor public, it can be useful to create it in places other than wxFDIODispatcher
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 04:19:12 +00:00
Vadim Zeitlin
9d3845e884 extracted GUI-specific part of utilsunx.cpp to a new unix/apptraits.cpp file and don't include utilsunx.cpp in both base and GUI libraries now so that we can get rid of BASE_AND_GUI_UNIX_SRC in files.bkl entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:46:04 +00:00
Vadim Zeitlin
405f0fef4b rename classes use by generic wxSpinCtrl implementation to have "Generic" suffix to avoid conflicts with the classes with the same names in wxMac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:15:56 +00:00
Vadim Zeitlin
8907a7e2c0 add comparison operators for wxPen/BrushStyle and wxSOLID/... constants to avoid warnings in the existing code using such comparisons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:13:18 +00:00
Vadim Zeitlin
2ecd1756e4 added wxWindowDisabler ctor for conditionally disabling all windows and use it in WaitForChild()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 03:06:57 +00:00
Vadim Zeitlin
1d57de4858 more compilation fixes after pen/brush styles changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 02:58:41 +00:00
Vadim Zeitlin
1d043598b7 replace wxAddProcessCallback() with wxAppTraits::AddProcessCallback() to fix linking problems in Unix ports; also reduce code duplication between GUI and base versions making src/unix/baseunix.cpp unnecessary any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:07:13 +00:00
Vadim Zeitlin
5d2d8f6ae3 add default parameters for width and style parameters of FindOrCreatePen() for consistency with FindOrCreateBrush() and wxPen ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:04:01 +00:00
Vadim Zeitlin
b09cac4506 add compatible FindOrCreateBrush(wxColour, int) (also fixes wxMotif compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:02:48 +00:00
Vadim Zeitlin
2051c39fae compilation fixes after pen/brush styles changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:39:11 +00:00
Francesco Montorsi
106ef548fd add the default ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 18:03:12 +00:00
Francesco Montorsi
1f5c66294a add to GetToolkitVersion() the = NULL default values for the two arguments: they were documented but not actually implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 14:21:52 +00:00
Francesco Montorsi
82c5e9ab46 fix wxBrush for the mac build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 09:37:59 +00:00
Francesco Montorsi
70f9d2bef3 add the wxAnimation's ctor which automatically loads a file: it was documented but not present in the actual code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 22:33:57 +00:00
Francesco Montorsi
25af884d93 fix header files so that they can be included directly without generating 'undefined reference' errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 18:11:26 +00:00
Francesco Montorsi
ac3688c0d8 make the Pen/Brush code backward compatible as discussed on wx-dev; marked the blocks of code to deprecate in future with FUTURE_WXWIN_COMPATIBILITY_3_0; add wxCHECK_MSG in all ports to block Get*() calls on invalid objects (as already is for all other refcounted objects and for most ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 15:08:51 +00:00
Václav Slavík
7c08b47173 compilation fix for wxUSE_GUI=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 15:06:14 +00:00
Paul Cornett
60854f1ae2 revert removal of wxBU_AUTODRAW, now that it is again available with WXWIN_COMPATIBILITY_2_8==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 16:25:48 +00:00
Vadim Zeitlin
8cd6a9ad50 added wxSpinCtrlDouble (slightly modified patch 1835864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 14:04:19 +00:00
Francesco Montorsi
9f91505d95 remove deprecation for wxBU_AUTODRAW; it needs some more work, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 12:52:11 +00:00
Paul Cornett
edd6813c82 remove duplicate wxTaskBarIconAreaBase::DoPopupMenu, extracting the one-line difference into a new virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 04:06:50 +00:00
Paul Cornett
3ed946f283 simplify wxEVT_MENU_OPEN/CLOSE generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-18 03:01:30 +00:00
Vadim Zeitlin
766aecab3a use static functions instead of static variables for critical sections to avoid crashing if a log function using a CS is called during static objects initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 21:09:02 +00:00
Robin Dunn
5cfb6fee91 Make some wxDataViewCustomRenderer virtuals consistent across platforms.
Add missing WXDLLIMPEXP_ADV.
Add missing impl for wxDataViewEvent::GetPosition

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 21:00:06 +00:00
Paul Cornett
04ee05f92a fix a huge number of build errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 18:26:00 +00:00
Francesco Montorsi
9d7a8e4ab4 build fix (looking at buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 22:42:38 +00:00
Francesco Montorsi
6cef0db280 pen.h depends from brush.h in compat mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:50:55 +00:00
Francesco Montorsi
777819af7b fix typos and update MSW code to use new wxPENSTYLE_* enum values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:36:59 +00:00
Francesco Montorsi
82cddbd97a fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:11:12 +00:00
Francesco Montorsi
6ffb03bec3 fix wxMSW build after wxBrush changes: return wxBRUSHSTYLE_MAX instead of zero; fix include loop in MSW headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 17:00:39 +00:00
Francesco Montorsi
3e6858cdcb introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 16:47:57 +00:00
Vadim Zeitlin
f286f23b70 don't use generic process callback for wxGTK/Motif/MGL which have their own versions of it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 02:22:42 +00:00
Vadim Zeitlin
936f635341 rename fobr95.{cpp,h} files to foobar.{cpp,h}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 16:53:06 +00:00
Vadim Zeitlin
9243700fb2 add support for asynchronous execution in wxBase (patch 1906889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 16:46:38 +00:00
Václav Slavík
e2cf30aa1c wxMSW: generate wxClipboardTextEvent from wxTextCtrl with wxTE_RICH style too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 12:28:03 +00:00
Vadim Zeitlin
03d4194d6b implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part (slightly modified patch 1914190)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 04:10:43 +00:00
Vadim Zeitlin
f96233d53e protect access to ms_aTraceMasks with a critical section (replaces patch 1911172)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:42:48 +00:00
Vadim Zeitlin
d038247519 call OnNativeDestroyed() if the native window is destroyed independently from us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:36:15 +00:00
Vadim Zeitlin
2f74c9c6b5 use less expensive GetLastPosition() instead of GetValue() to implement IsEmpty()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:05:28 +00:00
Vadim Zeitlin
e072113323 don't call GetLastPosition() unnecessarily in SelectAll(), all platforms should support SetSelection(-1, -1) according to the docs (but wxGTK didn't, so fix it to do)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:04:09 +00:00
Vadim Zeitlin
5a25f8581a refactored code reused in several different places in wxTextEntry::RemoveSelection() (patch 1910166)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:58:54 +00:00
Vadim Zeitlin
1ac140d2a1 initialize m_nCurLine in wxTextBuffer ctor (part of patch 1908134)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:38:43 +00:00
Vadim Zeitlin
b1859b1a1b added support for double arguments to wxCmdLineParser (patch 1907289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:33:25 +00:00
Vadim Zeitlin
779288b486 make wxCmdLineParser:Usage() const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 17:14:55 +00:00
Václav Slavík
bd2e08d065 simplified and cleaned up wxGTK's focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 01:10:43 +00:00
Václav Slavík
fe828a03f4 reverted Julian's r44600, it broke help window behavior so that it prevented apps from closing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:58:32 +00:00
Václav Slavík
664d172947 fixed crash in wxHtmlHelpController if the help window is still open
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-13 23:42:57 +00:00
Vadim Zeitlin
2aee749cb1 delete wxNativeContainerWindow when the native window is destroyed, even if this means leaking memory in GTK case -- still better than getting X errors and crashing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-11 00:03:46 +00:00
Vadim Zeitlin
dfba244cbf added wxNativeContainerWindow and implemented it for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-10 15:50:48 +00:00
Francesco Montorsi
7cec3a32a4 use wxAcceleratorEntryFlags as wxACCEL_* enum name so it's easier to refer to it in wxDocs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 17:42:07 +00:00
Vadim Zeitlin
1fee6e2577 remove wxTextAttr::CreateFont(); return wxNullFont from GetFont() if we have no font attributes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-09 13:14:58 +00:00
Stefan Csomor
0b9eac66cc xcode_config moved
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:44:06 +00:00
Stefan Csomor
7e55b761e1 adding Aspen (iPhone)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:41:41 +00:00
Stefan Csomor
4bc554971c moving out of 'carbon' dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:31:21 +00:00
Stefan Csomor
b068adad76 moving out of 'carbon' dir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:30:59 +00:00
Stefan Csomor
a22420e8ad adding DLOPEN
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 16:29:47 +00:00
Václav Slavík
3be25921be fixed syntax error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-07 12:59:58 +00:00
Václav Slavík
520746acb5 deprecated wxWindow::SetHelpTextForId()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 19:28:51 +00:00
Václav Slavík
43c5fff8a8 use 6px as the default wxSizer border in wxGTK to be a little bit closer to GNOME HIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 10:12:03 +00:00
Vadim Zeitlin
2c20f44d70 remove wxFindFocusedChild() declaration too as g++ gets upset if an extern function is redefined as static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 23:12:13 +00:00
Stefan Csomor
1796d3849c merging graphics bitmap additions from Kevin O.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 21:10:39 +00:00
Vadim Zeitlin
8ca2ebc8f1 disable wxHAS_TEXT_WINDOW_STREAM for the old MSVC iostream.h library; don't disable it for DLL builds (why?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 12:39:59 +00:00
Vadim Zeitlin
dbf2bd150d include wx/artprov.h to define wxArtID used in this header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 12:27:21 +00:00
Vadim Zeitlin
396197cb56 set wxUSE_IOSTREAMH to 0 by default, we're in 2008, not 1988
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 12:16:33 +00:00
Vadim Zeitlin
41aeb94eec VC6 doesn't have wostream when using old iostream.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 12:06:07 +00:00
Václav Slavík
df44dcedaa added macros for checking for conflicts between flags values; use it in wxSizer code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 12:03:02 +00:00
Václav Slavík
0ba6faaeee added wxRESERVE_SPACE_EVEN_IF_HIDDEN sizer flag that prevents the sizer from changing size if a window is hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 12:01:36 +00:00
Václav Slavík
5f346ddc0a implemented Freeze/Thaw in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-04 10:03:01 +00:00
Václav Slavík
1c8e5c51f8 made Freeze/Thaw recursively (un)freeze child windows too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-03 11:30:07 +00:00
Vadim Zeitlin
c848185a6e use custom selection colours in wxHtmlListBox again (restores functionality broken by patch 1650804 in r44640)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 23:05:35 +00:00
Vadim Zeitlin
fdb47e62b9 decouple item index from string value (patch 1905702)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:55:43 +00:00
Vadim Zeitlin
8ce68f7fc0 add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:33:47 +00:00
Vadim Zeitlin
77c950fdad fix WPARAM typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 14:03:42 +00:00
Václav Slavík
82d3ae4b8f header files are not executable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 11:00:52 +00:00
Václav Slavík
4bff335abe added Get(Class)DefaultAttributes implementation for all controls using DataBrowser native control; fixed wxListBox's to return correct font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 10:50:16 +00:00
Vadim Zeitlin
a85ad1db05 use generic dialogs under Palm (generic.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:20:08 +00:00
Vadim Zeitlin
f0d3a2cc93 define wxConfig where the header implementing it is defined; also define it for wxPalm and wxOS2 (confmove.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:14:16 +00:00
Vadim Zeitlin
abd0503cf7 predefine wxUSE_LIBMSPACK as 0 for Palm (chkconf.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:08:52 +00:00
Vadim Zeitlin
027fe16c35 add platform info for Palm (add-wxpalm-info.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 01:02:07 +00:00
Vadim Zeitlin
624697a448 declare file-related APIs missing under Palm (pflib-missing.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:55:46 +00:00
Vadim Zeitlin
6afc1b4665 compilation fixes for PalmOS and implementations of missing standard functions (pflib.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:53:32 +00:00
Vadim Zeitlin
9b4da62701 PalmOS compilation fixes (wx-trunk-out.diff part of patch 1894861)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-02 00:43:06 +00:00
Robert Roebling
d613be55db Implemented wxURLDataObject for wxGTK using text/x-moz-url
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 17:22:31 +00:00
Vadim Zeitlin
0016bb3b1c no real changes, just refactor/simplify the code to remove duplication and unnecessary casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-01 12:23:04 +00:00
Paul Cornett
593354ca47 revert updating GTK size hints when window decorations change, it messes up min size set by a sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 06:34:43 +00:00
Vadim Zeitlin
82d1a19568 correct WinCE compilation after last change: can't use global scope with GlobalLock/Unlock() there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 02:52:26 +00:00
Vadim Zeitlin
dca0f65178 more /Wp64 warning fixes: mostly use UINT_PTR instead of UINT and define our WX[WL]PARAM with __w64 if available to avoid hundreds of warnings when casting LPARAMs to pointers/handles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 02:22:52 +00:00
Vadim Zeitlin
2d2b68baa3 use GlobalPtrLock (modified to allow not initializing it if the ptr is NULL) in wxGetPrinterDC() to avoid /Wp64 warnings and also make code safer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 00:41:38 +00:00
Vadim Zeitlin
18caa1e963 compilation fix after last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-28 00:22:02 +00:00
Vadim Zeitlin
7005cf4407 fix wxWeakRef<> for Borland C++ (slightly modified patch 1902415)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 18:12:29 +00:00
Vadim Zeitlin
c50c6fb23b add SetNativeTheme() (slightly modified patch 1884553)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:46:14 +00:00
Vadim Zeitlin
34dc0674f1 fixes for __WINCE_NET__ build (slightly modified patch 1892654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:35:13 +00:00
Vadim Zeitlin
81bed90ee4 only define wxAuiFloatingFrameBaseClass as wxMiniFrame if wxUSE_MINIFRAME==1 (and do it under all platforms, why not?) (replaces part of patch 1892654)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:29:54 +00:00
Vadim Zeitlin
1edce33f7e override SetDropTarget() in wxGrid to associate it with wxGridWindow as this is what things tend to be dropped on (patch 1903103)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:19:42 +00:00
Julian Smart
c2a4fabb14 Made wxRichTextCtrl cursors accessible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 08:54:55 +00:00
Vadim Zeitlin
2a8c8b35f8 no changes, just a couple of typo fixes in comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 02:01:02 +00:00
Julian Smart
6c0ea5130f Don't take the previous paragraph style when deleting paragraph marker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:59:06 +00:00
Vadim Zeitlin
194727706f fixes for MSVC compilation with /Wp64 (used by new _vc7 project files): define wxUIntPtr as size_t, not ulong; suppress warning about size_t to int conversion as there are simply too many of them to be fixed now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:42:20 +00:00
Vadim Zeitlin
f954984155 check whether the grid is fully created in Refresh() (fixes a crash under Mac); refactored members initialization into a new InitVars() method to avoid duplication and ensure that they're always initialized (slightly modified patch 1901366)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:17:28 +00:00
Julian Smart
ab44f4bf4e Fixed [ 1720130 ] A minor 'bug' or 'annoyance' with header file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 15:05:11 +00:00
Paul Cornett
81b0235f13 update GTK size hints when window decorations change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 06:14:32 +00:00
Vadim Zeitlin
6b4296f7fb always return 471 from wxApp::GetComCtl32Version() under CE as its commctrl.dll includes all comctl32.dll v4.71 functionality (replaces patch 1890933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:28:43 +00:00
Vadim Zeitlin
4798fbc7d1 don't forcefully disable regex and tiff, they build fine with VC8 (and not eVC)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:24:22 +00:00
Vadim Zeitlin
2036bdd303 don't define, nor use, LVS_EX_LABELTIP under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 23:20:27 +00:00
Vadim Zeitlin
025f7d775c don't include wx/msw/dc.h from wx/msw/private.h, this results in circular inclusion of wx/stream.h from wx/filefn.h before wxFileOffset is defined which results in compilation errors under WinCE and is bad/confusing anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 22:32:23 +00:00
Václav Slavík
5c66d7f7a4 wxMac's wxListBox was missing GetDefaultAttributes() to accompany its GetClassDefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 17:00:35 +00:00
Vadim Zeitlin
21bf81db6f revert r51647 change as it broke the code overriding AcceptsFocusFromKeyboard() to prevent the user from tabbing into a window; simply override it at wxControlContainer too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-24 13:58:38 +00:00
Vadim Zeitlin
841e47cfd7 remove MacIsReallyShown() as we now have public IsShownOnScreen() doing exactly the same thing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-23 00:19:18 +00:00
Robin Dunn
975bcfda0d Add MacHideApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:37:43 +00:00
Václav Slavík
6fba6c78a4 fixed wxBitmapButton to use focus and hover bitmaps correctly; also fixed tons of misnomers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:59:36 +00:00
Julian Smart
b41f2bbc49 Fixed IsShownOnScreen() for Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 14:12:34 +00:00
Václav Slavík
bbd92d1dbe moved win_gtk.h header to wx/gtk/private, it's for internal use only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Vadim Zeitlin
2261baf7a4 restore generic DrawEllipticArc() used by CE which was lost during the great wxDC refactoring somehow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:13:39 +00:00
Vadim Zeitlin
ab63f9985f VC8 doesn't have xlocale support under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 16:11:37 +00:00
Václav Slavík
61d34c10ea removed now-unused wxSizer::GetMax/MinWindowSize helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-21 14:07:04 +00:00
Vadim Zeitlin
345264343a implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
Vadim Zeitlin
4decd6afa5 make IsOk() virtual to allow it to be overridden in e.g. wxEnhMetaFile (replaces patch 1896222)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:58:09 +00:00
Vadim Zeitlin
8949ba7d74 reverted r51340: don't use wxWeakRef in the library code as long as not all supported compilers (notably all versions of Borland C++) can compile it; reapply r51340 once wxWeakRef is supported everywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 23:47:50 +00:00
David Elliott
83135a2c28 Don't include dlfcn.h from wx/dynlib.h on Darwin. We might be using our own
internal replacement functions.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 22:53:38 +00:00
David Elliott
c86ec17bcd Limit wxListBox best size to 100x100. Particularly important on trunk where
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
861b3043ca Revert the 2.8 hacks from r51892 on the trunk.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:26:51 +00:00
David Elliott
580cc1eb85 Ensure that the NSTableColumn width is that of its largest item to enable
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
83259e23a4 Add a new macro to the Objective-C uniquifying support that allows a
uniquified class to be a subclasses of another uniquified class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 20:36:16 +00:00
Vadim Zeitlin
9eaadb1b8c tell user to define _USE_OLD_RW_STL for BC5.6 instead of refusing to compile with it entirely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 13:44:55 +00:00
Vadim Zeitlin
b5e2a45022 add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Vadim Zeitlin
bb445ba732 turn wxUSE_STD_IOSTREAM on by default (except for the compilers which are too broken)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:40:13 +00:00
Vadim Zeitlin
2fda1fe5fd fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:39:06 +00:00
Vadim Zeitlin
40e01f4bfa compilation fix for bcc 5.82: don't use enum for value definition, Borland doesn't use the value correctly when the template is used later then
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-15 14:16:32 +00:00
David Elliott
19253261f5 Move wxWindowCocoaScrollView class into its own header.
(Equivalent of r51796 on the 2.8 branch)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 21:08:44 +00:00
Václav Slavík
3b96ea1ac5 added wxWindow::Set/GetMin/MaxClientSize convenience functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 13:40:47 +00:00
Vadim Zeitlin
1b96afaa92 don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:39:32 +00:00
Václav Slavík
32013b47d6 split wxSizer::Fit() into ComputeFittingWindow/ClientSize() that only does computations and Fit() that applies the result to the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 21:32:11 +00:00
Julian Smart
c025e094f4 Further fixes, for selected text display and new paragraph insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:49 +00:00
Vadim Zeitlin
6621957fe2 use platform-specific styles in xTR_DEFAULT_STYLE but don't impose them forcefully in wxGenericTreeCtrl ctor as this prevents people from using them even if they explicitly want to do it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 23:06:09 +00:00
Václav Slavík
f029f1d15b added wxWindow::HandleAsNavigationKey() helper for handling (not only) TAB key in custom controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 20:13:22 +00:00
Václav Slavík
301d7a0da6 added wxWindow::ClientToWindowSize and WindowToClientSize helpers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-12 15:49:22 +00:00
Vadim Zeitlin
86d62b51c0 add wxLanguageInfo::GetLocaleName(), this simplifies the current code and will be used with wxXLocale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:40:03 +00:00
Vadim Zeitlin
ea65760d5c avoid duplication in the code by refactoring LCID creation from wxLanguageInfo::WinLang and WinSublang in a member function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 23:23:10 +00:00
Vadim Zeitlin
5a0c7d664e use correct WXDLLIMPEXP_FWD_CORE instead of WXDLLIMPEXP_FWD_BASE for wxWindow forward declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 20:51:24 +00:00
Vadim Zeitlin
0d29a4828e implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
68b1c87866 make wxGenericCollapsiblePane a wxControlContainer to allow keyboard navigation to and inside it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 01:24:19 +00:00
Vadim Zeitlin
ab431d9e3d cast char values to unsigned char before passing them to CRT functions as MSVC CRT asserts if passed a negative value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:43:43 +00:00
Vadim Zeitlin
a4e53d4658 return int, not wxUniChar, from wxTo{upp,low}er_l() for consistency with the standard tow{upp,low}er()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:16:31 +00:00
Vadim Zeitlin
149e70e123 add check for wxUSE_XLOCALE (and also wxUSE_INTL which wasn't checked for some reason)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:08:44 +00:00
Vadim Zeitlin
6e4ae332ac add wxXLocale class and wxIsxxx_l() and wxToxxx_l() functions (heavily modified and extended patch 1874287)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 17:03:23 +00:00
David Elliott
7234425be1 Add wxCocoa to the list of ports which don't need wxColour to derive from wxGDIObject.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-10 07:20:29 +00:00
Vadim Zeitlin
6dfbea27b9 added wxDebugContext::SetShutdownNotifyFunction() (patch 1887210)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:57:41 +00:00
Vadim Zeitlin
55ae15512c add GetMDIParent() and use it to reduce the number of casts in the MDI code (patch 1885462)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:37:07 +00:00
Vadim Zeitlin
4db3720881 use generic file picker in wxFLP_SAVE case as the native one doesn't allow to select non-existent files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:30:47 +00:00
Vadim Zeitlin
5de69dd366 don't lose the contents of the combobox if it was set to a value not in a list and a popup has been opened and closed (patch 1883474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:22:15 +00:00
Vadim Zeitlin
4732e2dca9 add wxUSE_WEAKREF (modified partially applied patch 1870445)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 14:40:26 +00:00
David Elliott
29fbbf8967 Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer that it is in that mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 09:12:04 +00:00
Vadim Zeitlin
a131b460ac don't redeclare wxYield() if it had been already declared to fix g++ warnings with -Wredundant-decls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:17:41 +00:00
David Elliott
7a71aa1402 Reword the comment again. I forgot to save before committing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:06:26 +00:00
David Elliott
74b57569a3 Change the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
but I had to look up which preprocessor define was emitted by -fobjc-gc.
Also improve the comments a bit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:04:46 +00:00
David Elliott
49bd8fd291 Avoid warnings in the Objective-C uniquifying code when running in GC mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 04:24:35 +00:00
David Elliott
6ecc2922da Instead of using wxCFRetain/wxCFRelease directly for Objective-C objects add
new wxGCSafeRetain/wxGCSafeRelease functions which are specific to Objective-C
objects and can be compile-time switched to standard retain/release without
breaking wxCFRetain/wxCFRelease for CF objects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 23:37:30 +00:00
Václav Slavík
5d2788a3e2 removed unused SYMBOL_WXRICHTEXT.*_TITLE values that were only polluting translation files with untranslatable "titles" such as "wxRichTextBulletsPage"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 12:33:00 +00:00
David Elliott
ddfdef64fa Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease in wxObjcAutoRef.
Actually use wxObjcAutoRef for the wxNSViewNotificationObserver singleton to keep it from being finalized.

Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 20:10:07 +00:00
Vadim Zeitlin
1c2697717a implement (trivially) wxGLApp ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 00:25:43 +00:00
Václav Slavík
a9efc294a9 call Show(false) from ~wxDialog to call EndModal if the dialog is still modal consistently in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 19:13:26 +00:00
Vadim Zeitlin
3fc69ebc38 wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 21:32:11 +00:00
Vadim Zeitlin
5ffd2ea09e no real changes, just added 2 virtual keywords to (already virtual) functions (significant part of the patch 1881093)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:56:06 +00:00
Vadim Zeitlin
3f20f7d8a3 added wxGLCanvas::IsDisplaySupported() (patch 1879906)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:55:05 +00:00
Vadim Zeitlin
a0bcd61bbc compilation fix for wchar_t-based builds after ParseISOXXX() additions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:38:11 +00:00
Vadim Zeitlin
85ee624151 make wxIdleEventHandler available in console applications too (patch 1878258)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 14:08:01 +00:00
Vadim Zeitlin
f3f2e255b4 added wxDateTime::FormatISOCombined() and ParseISODate/Time/Combined()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 13:04:56 +00:00
Vadim Zeitlin
3b7c589c55 generate include/wx/univ/setup0.h from setup_inc.h too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 12:20:06 +00:00
Paul Cornett
16487a6fde remove unused wxMenuBar::m_style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 02:43:48 +00:00
Paul Cornett
7f85af8223 Enable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
remove hack for non-left alignment, it does not seem to be needed anymore.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 21:33:51 +00:00
Julian Smart
cd8ba0d9e4 Added a reset-buffer event to give an opportunity to set the default initial style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:14:44 +00:00