Vadim Zeitlin
a4761b4c08
implement flag for Unix-like behaviour in wxCmdLineParser::ConverStringToArgs()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 00:49:25 +00:00
Vadim Zeitlin
f6a0208756
fix the output length returned from cWC2MB/MB2WC() to be consistent with From/ToWChar(); fix off by NUL-length bug in wxMBConv implementation of From/ToWChar() in terms of legacy WC2MB/MB2WC() (which are still used in wxMBConv_wxwin) that this uncovered; added a simple test for the bugs the old code resulted in which could be easily seen with wxConvISO8859_1 (see #9739 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 23:57:25 +00:00
Vadim Zeitlin
05392dc8c6
remove wxCSConv::MB2WC/WC2MB, implement Latin-1 fallback conversion in To/FromWChar() themselves; this is more efficient and removing the old code fixes off by 1 bugs in it (related to #9739 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-15 16:09:00 +00:00
Vadim Zeitlin
eaad096e79
relay out the control after deleting any page, not just the last one ( #9684 ); also extract the size event sending code in a separate function to be able to replace it with something better easier later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-14 02:04:28 +00:00
Vadim Zeitlin
d7ad5a0289
define {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compatibility with std::pair, we can avoid #ifdefs in the code using the hash then ( #9725 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:20:06 +00:00
Vadim Zeitlin
67ef83eb03
added wxFlexGridSizer::Add{Row,Col}Growable() ( #2603 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 18:06:50 +00:00
Vadim Zeitlin
293b15f78d
added wxVListBox::GetItemRect() ( #9711 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-13 17:28:31 +00:00
Vadim Zeitlin
c91574928d
add wxSocket::IsClosed(), use it to implement Eof() in wxSocketStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:28:12 +00:00
Vadim Zeitlin
dde65a6040
no changes, just removed the unnecessary inline keywords
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:12:58 +00:00
Vadim Zeitlin
98f80f2f76
remove unused private wxSocketBase::m_lastError
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-12 02:01:55 +00:00
Vadim Zeitlin
f75e0c15ae
show busy cursor in wxLaunchDefaultBrowser and add a new flag to avoid it ( #9678 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-09 02:32:16 +00:00
Vadim Zeitlin
72ac4e888a
take const address objects in wxSocketClient::Connect() and wxSocketBase::SetLocal()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 02:21:39 +00:00
Vadim Zeitlin
02aa9504bc
remove code for drawing icon of minimized window manually, this was only useful under NT 3.51 and earlier among all Win32 systems and I don't think we support that any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 20:53:27 +00:00
Vadim Zeitlin
a6ac49b198
avoid duplicating wxWindow::HandleCommand() in wxFrame, only handle the commands for the frame menu bar elements there: this avoid generating duplicate events if a command event handler skips
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 20:51:16 +00:00
Václav Slavík
2587df2c82
reverted Robert's premature removal of deprecated 2.6 functions in r54490
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 19:06:06 +00:00
Paul Cornett
bbe28fbb83
mark long-deprecated methods as such, and don't use them in wx code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:23:01 +00:00
Stefan Neis
0d65494402
Experimental simplification of the code by using MWERKS version
...
for all compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 18:05:33 +00:00
Robert Roebling
961d941c0d
Remove 2_6 compatibility code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-05 10:58:38 +00:00
Robert Roebling
6ad68ad8c8
added wxString.t_str() and used it in filefn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-04 07:56:32 +00:00
Robert Roebling
937fc7dbea
Tried to make wxListBox::Update() work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-02 08:15:28 +00:00
Robert Roebling
05f616efaa
Add stub for parsing globs file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 09:28:08 +00:00
Robert Roebling
d39e2bbcf7
Remaining conversion to read-only XDG MIME types code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-01 08:31:50 +00:00
Vadim Zeitlin
e974c5d258
implement wxListCtrl::GetSubItemRect() for generic version and fix bug in it in wxMSW one; also added a test for it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 18:21:33 +00:00
Vadim Zeitlin
a2fd8a45ec
VC6 compilation fix: using access declaration can only be used with immediate base class members with this compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 13:40:08 +00:00
Robert Roebling
29886d1bf8
Removed most of the pre-XDG MIME code from the Unix implementation, many speed-ups by simplification
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-30 11:58:41 +00:00
Vadim Zeitlin
053ac76fa2
deprecate wxTE_AUTO_SCROLL as it's always on in the ports which support it anyhow ( #2176 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-28 18:18:54 +00:00
Robert Roebling
1dea1566c8
Added mostly empty wxLaunchDefaultApplication
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 14:14:13 +00:00
Robert Roebling
1dff2537d3
Ticket #9641 : wxBitmapComboBox_SetFont.patch, making it public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 13:47:45 +00:00
Robert Roebling
1473d17fe9
Fix warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-27 13:45:51 +00:00
Vadim Zeitlin
831b64f32f
fix the wrong #ifdef WXWIN_COMPATIBILITY_2_8 checks, #if should be used ( #9644 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-26 11:16:40 +00:00
Vadim Zeitlin
0ddec397f6
more wxBitmapType-related backward compatibility fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-25 01:02:04 +00:00
Vadim Zeitlin
9e0560c1bc
provide deprectaed LoadFile() and FindHandler() overloads taking long, otherwise the existing code using long instead of wxBitmapType doesn't compile because of the ambiguity between long->wxBitmapType and long->wxString conversions (as these methods are also overloaded to take wxString)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-24 23:43:59 +00:00
Vadim Zeitlin
edc5134402
initialize wx{Client,Paint,Window}DC with fonts/colours of its window
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:17:00 +00:00
Vadim Zeitlin
9928536b3a
remove Create{Window,Client,Paint}DC() methods without window parameter -- they don't make sense as these DCs must always be associated with a window and are unusable if created without it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 17:05:45 +00:00
Vadim Zeitlin
d317fdebc3
add wxShowEvent::IsShown() and wxIconizeEvent::IsIconized() instead of (now deprecated) GetShow() and Iconized() respectively ( #978 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:17:13 +00:00
Vadim Zeitlin
1a9a6eed36
disable report view mode under Mac as it hangs the native wxListCtrl implementation (continuation of #9484 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 16:10:52 +00:00
Vadim Zeitlin
a30e702974
added wxGenericStaticBitmap ( #9608 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-21 15:32:33 +00:00
Robert Roebling
223255fd44
Add missing SWAP macros for 64-bit signed int
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:22:45 +00:00
Robert Roebling
177e38e645
Don't let MSW's wxSpinCtrl emit spin up and down events as in the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-20 08:17:33 +00:00
Vadim Zeitlin
bc735a68b1
declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:28:26 +00:00
Robert Roebling
03966fcb3f
#9591 : Item state (icons) for wxTreeCtrl on any platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 17:50:40 +00:00
Robert Roebling
3f16e52c13
Ticket #9592 : gtk-choice-setcolumns.2.diff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 13:32:43 +00:00
Václav Slavík
25a3fca2e5
Implemented high-quality preview for wxMSW (this approach doesn't work
...
on other platforms). The preview is now accurate representation of printed
page and wxHtmlEasyPrinting preview shows identical layout to what will
be printed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 08:41:51 +00:00
Václav Slavík
88b987876d
fixed printing preview to not report errors in infinite loop (bug introduced by r54133)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-16 07:43:59 +00:00
Vadim Zeitlin
fafb2b0531
overload Write() for char and unsigned char too, otherwise code writing them fails due to lack of exact match and absence of overloaded wxToString()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 23:38:11 +00:00
Vadim Zeitlin
02e22828eb
added a unit test for input/output file streams and fixed the problem it exposed ( #3335 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 17:34:50 +00:00
Vadim Zeitlin
fafd43c578
another 64 bit fix: make SendMsg() return wxIntPtr instead of long too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:17:35 +00:00
Vadim Zeitlin
47bec43d70
correct wxIntPtr definition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 14:16:59 +00:00
Vadim Zeitlin
b796ba3931
fixed STC under Win64: as wxStyledTextCtrl::SendMsg() used (32 bit) long arguments, passing (64 bit) pointers to it almost certainly didn't work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 13:56:59 +00:00
Vadim Zeitlin
609577038a
ignore mouse wheel events which are coming too fast to be processed ( #9057 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 11:31:31 +00:00
Vadim Zeitlin
9357892714
derive wxSTC from wxTextEntryBase to provide even more wxTextCtrl-like methods (see #9114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 01:16:52 +00:00
Vadim Zeitlin
2bfca191bf
derive wxSTC from wxTextAreaBase to provide wxTextCtrl-like methods (see #9114 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-15 00:59:38 +00:00
Vadim Zeitlin
a5c2ccf2e7
state clearly that the entire contents of generated files is generated; put special {{{ and }}} markers around the generated sections (these are special and extra-convenient for ViM but can probably be used to at least go to the end/beginning/other extremeity of the generated block from any other decent editor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:33:03 +00:00
Vadim Zeitlin
06b2f04bb7
remove extra ')' in EVT_STC_CALLTIP_CLICK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 18:09:51 +00:00
Vadim Zeitlin
8e0945dae5
translate Scintilla getters to const methods of wxStyledTextCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 15:59:07 +00:00
Vadim Zeitlin
82bf63a08c
recreate the window if FSAA is requested (changeset_r54022_Fix.patch from #9145 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 01:44:13 +00:00
Vadim Zeitlin
f6a46bb028
exclude pieces of wx hash map implementation which were wrongly included when std::unordered_map was used in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 23:28:25 +00:00
Vadim Zeitlin
f380544a4c
use std[::tr1]::unordered_map if available in wxUSE_STL build ( #9532 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:43:41 +00:00
Vadim Zeitlin
0042c76f29
fix some wrong declarations which upset mingw32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 18:12:55 +00:00
Robert Roebling
c2193ac911
#4479 : wx.ComboBox needs a SetFont method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-12 12:16:42 +00:00
Václav Slavík
b88bf07395
render pages in print preview at idle time, not from OnPaint, to make the UI appear more responsive when preview takes long time to create
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 20:56:41 +00:00
Stefan Csomor
ef0e92205a
fixing file paths after renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 19:17:41 +00:00
Paul Cornett
e2147e6d3c
simplify menu item callbacks by passing in wxMenuItem instead of wxMenu
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 17:07:07 +00:00
Stefan Csomor
29ed833473
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:44:18 +00:00
Stefan Csomor
5c6eb3a84b
renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:30:48 +00:00
Stefan Csomor
63b5e786d4
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:09:45 +00:00
Stefan Csomor
72bad861e6
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:09:14 +00:00
Stefan Csomor
514fddd591
rename round
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:08:31 +00:00
Stefan Csomor
31f9fc24d6
committing changes before renaming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:06:28 +00:00
Stefan Csomor
f4dda581a4
common private decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:05:58 +00:00
Stefan Csomor
16bf319040
common private decls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 16:05:46 +00:00
Stefan Csomor
ea27623912
removing double includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 15:54:15 +00:00
Stefan Csomor
712d087f0c
switching to OSX naming
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 15:53:10 +00:00
Vadim Zeitlin
d1a64f69cb
use more general pointer-to-member representation for wxEvtHandler methods to make it possible to use as event handlers methods of classes multiply inheriting from it and some other class ( #9556 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 14:22:21 +00:00
Vadim Zeitlin
c245a01202
use native calendar control in wxDatePickerCtrl if available ( #9548 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 11:45:57 +00:00
Stefan Csomor
fc32630a5e
removing outdated files for mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 06:56:47 +00:00
Vadim Zeitlin
591d3fa210
remember the last type used for loading or saving the image and return it from GetType() ( #9551 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 00:28:23 +00:00
Stefan Csomor
f28da83a6f
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:56:13 +00:00
Stefan Csomor
2c5fd1aed9
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:54:46 +00:00
Stefan Csomor
6c960f2e81
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:47:38 +00:00
Stefan Csomor
5bd471fc07
removing outdated files on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:47:20 +00:00
Paul Cornett
1deef99727
wxMenuItem code cleanup, removing duplicate and unneccessary code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 03:54:43 +00:00
Vadim Zeitlin
425eee4164
correct some compatibility problems with the existing Unicode-mode code ( #9513 ), more remains to be done ( #9560 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 22:50:55 +00:00
Stefan Csomor
78b8320770
RGBColor on QD only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:51:48 +00:00
Stefan Csomor
469c3bcb71
setup font defines for iphone correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:50:56 +00:00
Vadim Zeitlin
fdaad94e75
deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 01:45:56 +00:00
Vadim Zeitlin
c39d2e0a38
added multisampling (anti-aliasing) support to wxGLCanvas ( #9145 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 00:12:12 +00:00
Vadim Zeitlin
39329d2edd
use memcpy() instead of wxTmemcpy() as the latter is defined in wx/wxcrt.h which includes wx/string.h and hence can't be used from here
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:12:23 +00:00
Vadim Zeitlin
05b4b8ee88
more compilation fixes for VC6 ( #9492 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 15:06:32 +00:00
Stefan Neis
faba238f8e
Compilation fix for GTK1.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 14:26:49 +00:00
Vadim Zeitlin
eddc468e25
ensure that dialog gripper is always positioned below the other children, even if they're created after it ( #9519 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 02:04:16 +00:00
Vadim Zeitlin
533171c287
support multiline labels in wxCheckBox ( #9495 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:54:44 +00:00
Vadim Zeitlin
30a56ea8cb
call wxSizerFlags::Top/Bottom() or Left/Right() shouldn't change horizontal or vertical alignment ( #9534 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 01:22:34 +00:00
Vadim Zeitlin
204fd7058e
change another long type to wxBitmapType
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:53:10 +00:00
Vadim Zeitlin
e98e625cbb
change longs used for bitmap types to wxBitmapType ( #9126 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 23:33:58 +00:00
Vadim Zeitlin
062dc5fc22
initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845 ); add wxString::tchar_buf() to help with the implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:19:23 +00:00
Vadim Zeitlin
1bc8210593
compilation fix for VC6 (and maybe not only): enums defined in containing class are not accessible from the nested classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-06 21:06:16 +00:00
Vadim Zeitlin
f7541d4807
corrected bug in wxTimeSpan::IsShorterThan() for equal time spans (ticket #9539 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 23:51:04 +00:00
Vadim Zeitlin
7f5b84c22f
compilation fix for --disable-filesystem --enable-xrc build (wxArrayString is needed here and was only included indirectly via wx/filesys.h) (ticket #9537 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 13:47:32 +00:00
Václav Slavík
37146d3352
added wxHtmlWindow::SetRelatedStatusBar(wxStatusBar*) (patch #9235 by troelsk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-05 09:38:37 +00:00
Václav Slavík
84e455807e
wxDFB: implemented Raise() and Lower() for TLWs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53979 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-04 21:50:06 +00:00
Robert Roebling
92159e3d76
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 21:46:29 +00:00
Vadim Zeitlin
42124e683d
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 20:42:23 +00:00
Robin Dunn
f60ca3e24c
Add a SetDoubleBuffered method for wxMSW (XP+)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:30:13 +00:00
Robert Roebling
ae8eee38f4
Disable disabling wxWeakRef<T>
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-02 18:07:06 +00:00
Vadim Zeitlin
23f3f8c2ac
correct error in wxHAVE_RAW_BITMAP definition: it shouldn't be defined at all if there is no raw bitmap support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 20:17:04 +00:00
Vadim Zeitlin
24671bc900
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 18:42:33 +00:00
Vadim Zeitlin
77fa3d8243
add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 13:01:59 +00:00
Vadim Zeitlin
ca8cf4fffb
added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:09:25 +00:00
Vadim Zeitlin
9d653e810c
rewrote UTF-7 to work on streams of data to be comaptible with the way wxTextStream uses the converters; also converted a couple off by 1 bugs and unit test finally pass now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:08:45 +00:00
Stefan Neis
3656eefc89
Compilation fixes for mingw-w64.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 12:44:40 +00:00
Vadim Zeitlin
2bdba43f02
at least mingw32 3.4.5 needs wxBitmap declaration to compile wxPixelData<wxBitmap> (thanks buildbot)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 20:04:09 +00:00
Vadim Zeitlin
3e50a139b4
fixed wxImagePixelData compilation (ticket #3003 ); added a unit test for it (to be extended to cover more wxImage methods...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 19:30:23 +00:00
Vadim Zeitlin
8aa6162938
blind fix for Borland ANSI build: define wxStructStat specially for this compiler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 18:59:55 +00:00
Vadim Zeitlin
508b652335
ensure that GetEditControl() returns something even if label editing was started by the user and not the program ( closes #1325 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:26:07 +00:00
Vadim Zeitlin
5cd4cb75ee
no changes, just refactor the code to avoid having the same code for m_textCtrl destruction in 4 places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-30 00:03:03 +00:00
Robert Roebling
13d843f1c1
More work on getting wxLisBox events right
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:13:47 +00:00
Stefan Csomor
9f728f8dba
adding lowlevel hook to listbox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:11:45 +00:00
Vadim Zeitlin
fe267c2fad
take wxString in wxCrashReport::SetFileName() to allow passing either ASCII or wide strings as well as wxStrings to this method (closes 9505)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 13:28:05 +00:00
Paul Cornett
aac7dbf3aa
remove unused/unneeded menuitem cruft
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:41:37 +00:00
Paul Cornett
9a2183c900
remove obsolete file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:27:00 +00:00
Paul Cornett
efebabb7ff
mark long-deprecated ctor as such
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 04:26:29 +00:00
Robin Dunn
fa34bc5331
Add wxWebKitNewWindowEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-28 06:33:46 +00:00
Vadim Zeitlin
65d990fb21
there is no std::wostream under Palm (part of ticket 4700)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 16:38:12 +00:00
Robert Roebling
e78c1d7855
Native wxBitmapComboBox patch for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 10:17:56 +00:00
Robert Roebling
7a04b64409
Clear columns on destruction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:52:26 +00:00
Robert Roebling
1afad0ac74
Reapply wxWeakRef patch again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:17:56 +00:00
Robert Roebling
3e040a2981
Use wxWindowRef to hold pointer to default button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 08:53:48 +00:00
Robert Roebling
1ddb283ad5
Defer SetHorizontalExtent to idle, also fixes (wxListBox::Delete ignores Freeze/Thaw and is verrrrry slow)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 20:54:30 +00:00
Robert Roebling
ea6cbf486a
Dont send spin text update event from SetValue()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-24 20:24:58 +00:00
Vadim Zeitlin
784ee7d511
improve wxMessageOutputBest console output under Windows (closes 9146)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 23:28:13 +00:00
Robert Roebling
05d790f834
Move event generation code for multiple selection mode to common code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 10:12:50 +00:00
Robert Roebling
794b89c956
Remove deprecated methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 09:48:53 +00:00
Stefan Neis
eccec0f887
Linker fix for non-PM builds.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 21:21:36 +00:00
Robert Roebling
1e6ffd6691
Remove m_blockEvents and use Disable/Enable instead, some more rearraging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 20:53:10 +00:00
Vadim Zeitlin
0662f99096
add back wxChoice::DoGetBestSize() removed by the previous refactoring, it's still needed ( #9150 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:55:59 +00:00
Vadim Zeitlin
154014d681
added wxDateTime::SetFrom/GetAsMSWSysTime() ( #9161 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 00:49:27 +00:00
Václav Slavík
c1eb8caaa4
fixed compilation with DirectFB 0.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:38:39 +00:00
Robert Roebling
19723525ce
Added InsertColumn( pos, col ), some reformating
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 08:47:21 +00:00
Stefan Csomor
5e5a020c0d
make independent from carbon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:25:25 +00:00
Julian Smart
a2beab222f
COnversion of some common font names to current platform
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:24:53 +00:00
Stefan Csomor
12df0ad59f
allows resetting color of text to black, closes #4826
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:24:46 +00:00
Robert Roebling
3b8b8024a0
Missing header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 08:13:45 +00:00
Vadim Zeitlin
a2c9411060
use GtkComboBox instead of deprecated GtkOptionMenu for wxChoice; this also allows to derive wxComboBox from wxChoice in wxGTK as in wxMSW (ticket #9150 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:26:28 +00:00
Vadim Zeitlin
c574bfa902
(blind) fixes for PCH-less build after r53626
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 23:42:37 +00:00
Vadim Zeitlin
4f2718147f
fix gcc warnings about not calling the base class ctors (replaces patch 1962992)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 23:14:25 +00:00
Vadim Zeitlin
462167a9f7
allow loading wxAnimationCtrl contents from stream (patch 1962344)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:51:52 +00:00
Vadim Zeitlin
7bf2b0881a
added language info for Northern Sami (patch 1964036)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:49:30 +00:00
Vadim Zeitlin
f696015cf1
native wxBitmapComboBox implementation for MSW (patch 1941399)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 22:43:00 +00:00
Julian Smart
d1e5be0ec6
Fixed common style collection and superscript/subscript selection
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 17:54:11 +00:00
Václav Slavík
d2f3b08582
wxUniv: implement wxSYS_VSCROLL_X/Y metrics in wxUniv code, they depend on the theme, not lowlovel port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:41:25 +00:00
Stefan Neis
a289b10d2c
Fixed wxWindowOS2::Reparent.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-17 09:40:37 +00:00
Stefan Neis
f212e222e7
Ensure that wxApp::Yield is always processing pending event by creating a
...
temporary event loop if needed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:50:26 +00:00
Robert Roebling
344ed1f386
Option for variable line heights (MSW and GTK+ sofar)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:37:32 +00:00
Paul Cornett
2a23042680
fix some warnings from GCC -Wextra
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-15 17:24:48 +00:00
Robert Roebling
26c66bc6ac
[ 1960295 ] wxWeakRef - Reorganization and comments
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-15 11:50:35 +00:00
Vadim Zeitlin
e559d790fb
add wxCmdLineParser::AddUsageText() and wxCMD_LINE_USAGE_TEXT (modified patch 1957542)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-12 00:03:06 +00:00
Vadim Zeitlin
16b627b06a
make GetUsageString() public, this is useful at least for the tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 23:46:24 +00:00
Paul Cornett
3abc756645
prevent crash if panel/kicker is killed, bug 1872724
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 22:45:36 +00:00
Vadim Zeitlin
9c8116f8f7
take const wxConfig object in wxDocManager::FileHistoryLoad() and wxFileHistory::Load() (patch 1942316)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 20:32:35 +00:00
Vadim Zeitlin
bad6549d29
include wx/timer.h for wxUSE_GUI==0 now that timers can be used in console apps too (patch 1939223)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:45:52 +00:00
Vadim Zeitlin
2c66581eaa
show resize grip on resizeable dialogs (slightly modified patch 1910654)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 17:12:36 +00:00
Bryan Petty
d29a9a8ac8
Replaced @returns with @return for more standard command use and compatibility.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-11 01:38:53 +00:00
Paul Cornett
573bd31feb
remove extra semicolons, correct virtual access
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:48:44 +00:00
Paul Cornett
f92ef8536a
non-pch build fixes, after r53535
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 17:46:38 +00:00
Francesco Montorsi
7e721c7a4b
give a name to the unnamed enum to make it easier to document it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:54:46 +00:00
Francesco Montorsi
d75a69e832
replace use of 'long/int bitmapType' with 'wxBitmapType bitmapType' in richtext and wxMemoryFSHandler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-10 09:40:33 +00:00
Václav Slavík
eeb6bb3493
fixed wxMac compilation after ShowWithEffect() changes; also fixed to use correct directions meaning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 21:53:42 +00:00
Vadim Zeitlin
13a3888794
extracted wxWrapSizer in separate files and somewhat improved it (heavily modified patch 1876663)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 22:45:44 +00:00
Václav Slavík
eed04c9999
changed ShowWithEffects() to use directional wxSHOW_EFFECT_XXX flags instead of additional wxDirection argument that doesn't always make sense; this also means the direction is never implicit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 21:56:26 +00:00
Vadim Zeitlin
49dcc246bf
add wxSizer::SetDimension() overload taking wxPoint/wxSize instead of 4 ints
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 18:58:04 +00:00
Vadim Zeitlin
7f0cbaaa4a
correct the signature of the overriden Reparent()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:15:07 +00:00
Vadim Zeitlin
3e9db38eaf
don't override DoDrawSpline() under CE at all instead of overriding it and then always forwarding to the base class version
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:13:15 +00:00
Vadim Zeitlin
7210c3a12c
fix confusion with (Do)DrawSplines() overloads; don't allocate points on the heap unnecessarily when we can just do it on the stack
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 14:12:38 +00:00
Vadim Zeitlin
6bc7b9138d
don't redeclare vsscanf() for Windows compilers, the case of missing declaration for an existing function only arises under old Unix systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-08 13:57:54 +00:00
Vadim Zeitlin
4f29051b4e
use std::[w]string for wxString implementation unless wxUSE_STD_STRING==0 but even if wxUSE_STL==1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-07 00:46:45 +00:00
Robert Roebling
6dd21c5433
[ 1957970 ] wxWeakRef - assign from other wxWeakRef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 21:04:23 +00:00
Václav Slavík
9d646d31c9
removed wxDCWindowImpl::m_win; use wxDCImpl::m_window instead (fixes caret-related crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-06 17:08:49 +00:00
Vadim Zeitlin
f01a77c795
add an assert indicating that old code overriding OnExecute() must be updated with 2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-02 22:05:43 +00:00
Robert Roebling
b25c34aae4
Added constructor to wxGCDC from wxPrinterDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-30 09:26:02 +00:00
Chris Elliott
0eb6fce245
add watcom define HAVE_VSSCANF_DECL ( http://article.gmane.org/gmane.comp.lib.wxwidgets.devel/100710 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 16:01:31 +00:00
Julian Smart
1c13f06e4e
Added a wxRichTextCtrl-specific caret implementation in case of need
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 09:10:32 +00:00
Robert Roebling
0b822969a6
Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 20:39:57 +00:00
Vadim Zeitlin
c3f941621e
added wxQueueEvent() avoiding the bug of wxPostEvent() with the events having wxString fields
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 18:49:42 +00:00
Vadim Zeitlin
9e50ed28d9
fix wxTextCtrl::operator<<('\n') in Unicode build (should use char overload, not int); corrected mangled documentation of these operators
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 12:32:32 +00:00
Julian Smart
7051fa4161
Further wxRichTextCtrl performance improvements
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 13:29:53 +00:00
Vadim Zeitlin
4aa59c3df6
no real changes, clarified the usage of WX_GL_DOUBLEBUFFER; documented it and other WX_GL_XXX constants lost during doxygen transition; simplified wxMSW code a bit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-27 12:46:28 +00:00
Robert Roebling
d974a4945c
Made wxCairo graphics code compile again, wxGraphicsBitmap still missing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 13:32:23 +00:00
Robert Roebling
2b44ffc0e7
Added wxDC::CreateGraphicsContext and implemented it for a few DCs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-25 11:05:16 +00:00
Julian Smart
4f3d5bc061
Made performance acceptable for editing large paragraphs on low-powered machines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 14:39:33 +00:00
Julian Smart
109bfc88a4
Further optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 11:43:39 +00:00
Václav Slavík
06e9cf134f
added wxString::Clone() and made wxString(wxCStrData) ctor make deep copy too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 07:16:48 +00:00
Paul Cornett
fce611e426
restore caching of WM frame extents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 17:05:47 +00:00
Julian Smart
2f45f5545f
Further performance optimizations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 15:01:33 +00:00
Vadim Zeitlin
106dcc2cea
make wxDir::Has{Files,SubDirs}() const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 16:29:43 +00:00
Robert Roebling
c96cc30a5d
Let wxCommandEvent's copy constr copy its string via .c_str() as otherwise ::Clone() isn't thread-safe
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 13:14:00 +00:00
Robert Roebling
07cf4247ec
Remove usused variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-22 08:29:01 +00:00
Robert Roebling
e569b49372
[ 1945434 ] Changing method wxComboCtrlBase::DrawButton to virtual one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 18:48:03 +00:00
Julian Smart
31778480a9
Speeded up wrapping (again), this time using partial text extents.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 15:26:27 +00:00
Václav Slavík
6a603a10e7
preserve TAB characters when copying HTML <pre> content to clipboard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-21 10:46:30 +00:00
Václav Slavík
916989dfb9
implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:23 +00:00
Robert Roebling
d7b20621ef
Fixed wxDatePickerCtrl under OS X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-19 17:22:23 +00:00
Vadim Zeitlin
e38ce1bcbf
added wxMouseState::GetPosition(), for consistency with wxMouseEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 01:51:04 +00:00
Vadim Zeitlin
6e3515377c
make wxMouseState accessors const; document this class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 01:48:44 +00:00
Robert Roebling
7b0ccb8a60
[ 1936700 ] wxCAL_SHOW_WEEK_NUMBERS, slightly modified
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:31:50 +00:00
Václav Slavík
7e38638c34
removed no longer needed wxOKlibc() helper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-16 22:35:25 +00:00
Václav Slavík
93928d517b
wchar_t is now always required, updated chartype.h check accordingly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-16 22:20:50 +00:00
Vadim Zeitlin
63482fd5e8
add possibility to specify the conversion to use in wxStringOutputStream; use it instead of reimplementing the same logic erroneously in wxHTML (bug 1711476)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-15 12:22:41 +00:00
Václav Slavík
f416695a1b
more wxString:[Aa]ppend() overloads for better compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 22:30:07 +00:00
Robin Dunn
8b6c20ce55
Also set wxHAVE_RAW_BITMAP for Mac and GTK2, use it in wxSTC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 18:41:06 +00:00
Vadim Zeitlin
c24fd8883f
removed extra wxCalendarCtrl:: which is ignored by MSVC for some reason but breaks compilation with other compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-14 13:11:54 +00:00
Vadim Zeitlin
9ef1ad0d2c
fix crashes due to missing npos handling in several wxString methods in STL build (bug 1941352); add an assert to ensure this bug doesn't occur in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 23:41:15 +00:00
Václav Slavík
1b1c490cc8
Fixed IMPLEMENT_APP() to be compatible with the -WU flag of Borland C++ (patch #1935997 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 12:18:00 +00:00
Vadim Zeitlin
3fb26cf229
allow predefining wxNO_XXX_LIB symbols to avoid implicitly linking with the corresponding library when using msvc/wx/setup.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-13 02:09:52 +00:00
Robert Roebling
419a360703
Corrected/added support for column headers with icon and text
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 20:07:53 +00:00
Vadim Zeitlin
5769cf0f89
fix bugs introduced in wxCmdLineParser::ConvertStringToArgs() during Unicode transition; added a unit test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 17:03:09 +00:00
Vadim Zeitlin
4ec80a5966
forward declare wxVideoMode as struct, not class, now that it was reverted to be struct again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 15:12:02 +00:00
Vadim Zeitlin
8cd8a7feb7
wxThread::Sleep() is the same as wxMilliSleep() on all platforms but Mac (and maybe it should be the same thing there as well)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 02:28:46 +00:00
Vadim Zeitlin
f9d6e4e454
remove unused wxAppTraits-related files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 02:17:14 +00:00
Vadim Zeitlin
2404ce8d8a
argh, really, really fix Darwin build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 13:01:34 +00:00
Vadim Zeitlin
a0f4d36895
GetSocketManager() has no GUI-specific version under Darwin finally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 12:59:22 +00:00
Vadim Zeitlin
b2915c82ca
also use AddProcessCallback() and GetSocketManager() under Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 12:51:51 +00:00
Robert Roebling
c232dfe592
Add test for context menu, fixed mem leak, fixed focus problem when re-editing same item
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 10:40:58 +00:00
Václav Slavík
077f75a51d
reverted wxVideoMode API breakage by r53049, finished documentation for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-11 09:52:04 +00:00
Francesco Montorsi
3e8ec95401
use an enum to make it easier to document the values
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 21:59:22 +00:00
Václav Slavík
446779ee32
compilation fix for newest DirectFB versions (patch #1939443 by Anders Larsen)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 17:58:15 +00:00
Julian Smart
30bf763039
Added wxRichTextCtrl superscript and subscript support (Knut Petter Lehre).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-10 14:05:44 +00:00
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