Commit Graph

36801 Commits

Author SHA1 Message Date
Julian Smart
d54b227fdf Fixed return values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 07:06:11 +00:00
Paul Cornett
ab9f9e7136 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-23 00:50:52 +00:00
Vadim Zeitlin
4223cec504 avoid code duplication between the generic and GTK versions, factor the common code out in OnStateChange()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:27:10 +00:00
Vadim Zeitlin
2cbf701441 1. We don't need GetTopLevelParent() here, we already have wxGetTopLevelParent()
2. Don't hardcode button id in the generic version
3. Don't include unneeded headers from the header


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:23:12 +00:00
Vadim Zeitlin
ff928a273c use gtk_expander_new_with_mnemonic() instead of just gtk_expander_new()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:13:31 +00:00
Vadim Zeitlin
550d433e52 cleanup (mainly wrapping lines to be < 80 chars); added IsExpanded()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:10:07 +00:00
Vadim Zeitlin
a978c7d258 show the item for which the context menu is shown correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:33:25 +00:00
Vadim Zeitlin
3c1f8cb1f5 initial draft of wxCollapsiblePane (patch 1577412 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:28:37 +00:00
Vadim Zeitlin
187d815255 there is no need to convert wxArrayString to wxString[] explicitly any more, wx controls accept wxArrayString directly now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:12:32 +00:00
Vadim Zeitlin
9ebb7cade2 added wxSimpleHtmlListBox (patch 1576109 by Francesco)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:09:16 +00:00
Vadim Zeitlin
5c35d5c1d9 test indeterminate wxGauge mode (part of patch 1551409)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:22:40 +00:00
Vadim Zeitlin
b2c782f2b4 reverted change which made the progress dialog more realistic but also made the code vastly more complex (rev 1.116), it's not really needed otherwise than to test the patch it was bundled with; simplified the test code for wxPD_SKIP (rev 1.119); increased the progress counter to see the indeterminate mode marker wrap around
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:18:45 +00:00
Stefan Neis
2203a18560 Extended #1560785 (wxFileName::IsReadable/Writable/Executable) for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:17:15 +00:00
Vadim Zeitlin
f4aa7ec32b small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
2baa2b0eef moved last change under the correct (2.7.2) version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:02:38 +00:00
Vadim Zeitlin
16844d1c3a clarify Skip() meaning even more (latest version of patch 1516341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42251 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:52:45 +00:00
Vadim Zeitlin
f8b35b7b9a added autopackage-related files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:43:01 +00:00
Stefan Csomor
f540e5bd06 using GetNativePath instead of dynamic_cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:42:12 +00:00
Stefan Csomor
eec960fa89 on demand creation of native CGContexts , so that pure text measuring contexts don't need a native counterpart
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:38:53 +00:00
Vadim Zeitlin
06077aaf2c add alt popup window style allowing to use keyboard and comboboxes in the popup window and use it for the generic date picker (patch 1582391 from Jaakko)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:25:08 +00:00
Chris Elliott
d945fd16d5 remove empty dirs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 20:24:14 +00:00
Stefan Neis
3b0e208f3f Reverted font breakage caused by changes in version 1.30.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:59:15 +00:00
Stefan Csomor
2070a4f314 adding path accessors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 18:28:31 +00:00
Stefan Csomor
8ddf8e829a adding wxobject and RTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 17:52:23 +00:00
Vadim Zeitlin
3abcfa9b7f make install location autodetection work for executables compressed with (latest version of) UPX under Linux (patch 1565357)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:19:50 +00:00
Vadim Zeitlin
85fa9d60c4 use wxComboCtrl instead of custom popup window (patch 1575343)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:15:46 +00:00
Stefan Neis
90a6ac27c7 Applied patch #1582212 (completed/fixed toolbar's wxTB_BOTTOM implementation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:52:20 +00:00
Vadim Zeitlin
c4a34cf8c5 call Init() from wxBufferedDC ctors to ensure that layout direction is inherited in any case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:04:28 +00:00
Vadim Zeitlin
b1ed79a980 inherit the original layout direction (patch 1554810); also refactored a little to reduce code duplication and added a couple of wxCHECKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 13:00:58 +00:00
Vadim Zeitlin
ac70b90bb4 why was using std::string and streams disabled by default for mingw32 and cygwin? enabled it back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:50:43 +00:00
Vadim Zeitlin
d956f3e7e7 added wxAnimateCtrl test (rest of the patch 1581391)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:12:41 +00:00
Vadim Zeitlin
ecf48edf90 rearranged wxUSE_XXX tests in alphabetical order for ease of maintenance
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 12:07:44 +00:00
Vadim Zeitlin
ef54e2af14 ignore .cached files created by the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:46:25 +00:00
Vadim Zeitlin
5921d2f848 more printf() tests (slightly modified patch 1581936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:41:44 +00:00
Vadim Zeitlin
ce939fe123 fix compilation with PCH (patch 1581936)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:38:33 +00:00
Vadim Zeitlin
64d47d7dec removed ^Ms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 11:36:26 +00:00
Robin Dunn
e02c0a1360 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:27:32 +00:00
Robin Dunn
bbc3761ee8 No need to use wxPyMake_wxObject for wxImageList. There are no
derived types, and it is not OOR.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:14:31 +00:00
Robin Dunn
cd0a59fb7f the Append also does an INCREF, that's one more than we need.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:13:04 +00:00
Robin Dunn
d819fba8ae Patch #1581767: Another fix for wx.lib.calendar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 04:12:12 +00:00
Robin Dunn
0a27f39436 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:08:27 +00:00
Robin Dunn
9443113386 Lots of little tweaks, mostly to draw selected items better such that
they look right with the new wxMac DC, but also other general
improvements as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:07:21 +00:00
Robin Dunn
9a9ed31993 Animation support added to XRC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 03:00:37 +00:00
Robin Dunn
8e8d11eeaa Add Get/SetInactiveBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:59:51 +00:00
Robin Dunn
6240681f37 #include dcgraph.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:59:09 +00:00
Robin Dunn
f629895c92 Add dcgraph.h to files.bkl and rebake
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 02:58:27 +00:00
Paul Cornett
43af39c863 move some definitions out of datacmn.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 19:53:05 +00:00
Robert Roebling
ad0b4329d7 Use wxGCDC in wxGTK to draw "Alpha" test page
in drawing sample. Pretty amazing...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:44:44 +00:00
Robert Roebling
1ed4f1a747 Remove C++ dynamic cast for now.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:43:00 +00:00
Paul Cornett
b687dd2fc1 wxGraphicContext --> wxGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 18:00:11 +00:00