Commit Graph

34111 Commits

Author SHA1 Message Date
Mart Raudsepp
d00e5eb5d4 Check if wxOVERWRITE_PROMPT style flag exists in the gtk2.8 native overwrite prompt case as well. Fixes the case
where with 2.8+ compile and runtime version of gtk overwrite prompt always happens if the file already exists -
even if the style flag is not present. Fixes my introduced oversight and bug #1484020.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:38:09 +00:00
Robin Dunn
2131d850ee reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 02:02:29 +00:00
Robin Dunn
b8aab4d28d memory dc must have bitmap selected into it before it can be used for measuring
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:57:30 +00:00
Robin Dunn
4b40bcb44d DeprecationWarning for the old wxPython package.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:25:12 +00:00
Robin Dunn
8d7e482e06 generated rename directives are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 01:10:46 +00:00
Robin Dunn
4dca6329b1 wxMessageBox --> wx.MessageBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 23:14:49 +00:00
Paul Cornett
7f81dfa1a0 gtk spinctrl code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 17:04:16 +00:00
Robin Dunn
1767b394f0 Don't set a module attribute for the *_swigregister functions, just
call the one in the extension module directly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 16:15:41 +00:00
Robin Dunn
d306ba9b27 Added SetQuickBestSize and GetQuickBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:57:05 +00:00
Włodzimierz Skiba
d8d07a796f wxUniv port mentioned instead of native, wxButton ports listed, minor placement fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:36:44 +00:00
Stefan Csomor
ec8a8e042e switching to ATS font names instead of ATSUI ones (japanese font names had problems afterwards)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 15:07:16 +00:00
Robin Dunn
bbf0bd0538 Undo part of lst change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:45:03 +00:00
Stefan Csomor
45d5159fa4 adding an assert for invalid fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 14:43:54 +00:00
Julian Smart
6a82a0d041 Selection should be set to -1 if all pages are deleted, or the next
insertion will try to set the selection to 1.
Fixed lack of initial controller resize when first page is added,
though I think the listctrl should probably always have a decent initial
height even when empty.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:53:19 +00:00
Julian Smart
52f15cb7bb Don't use wxSIMPLE_BORDER on Windows since it gives a black border instead
of blue on XP


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:38:47 +00:00
Julian Smart
77a1771911 Added Set/GetQuickBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:35:25 +00:00
Julian Smart
7c3840677c Fixed tree book controller sizing by invalidating size after first
insertion, and also allowing full size calculation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 09:33:17 +00:00
Stefan Csomor
acead93d81 using ATSUI also in textctrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 08:06:34 +00:00
Włodzimierz Skiba
3b3dc8019a Include wx/menu.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 07:13:20 +00:00
Włodzimierz Skiba
85855db1c4 Missing #includes to allow wx/mac/carbon/tooltip.h be included first by user.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 06:45:59 +00:00
Paul Cornett
044077236a avoid wxColour::Set(long) confusion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:27:51 +00:00
Paul Cornett
a01ed326cc spinbutton code simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 03:08:25 +00:00
Paul Cornett
de7bb80239 avoid GTK "assertion `min < max' failed"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 02:39:23 +00:00
Robin Dunn
152e88789d Reverted mistaken check-in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:52:55 +00:00
Robin Dunn
f460c29d59 Use correct DLL import/export specifier for multi-lib builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:22:06 +00:00
Vadim Zeitlin
e328812d74 buttonbar.cpp/.h must be in GUI_CMN_SRC/HDR as toolbkg.cpp which is in common depends on them under Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 01:05:21 +00:00
Vadim Zeitlin
6ab4491a6d added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:52:48 +00:00
Vadim Zeitlin
7c2b7791e5 fixed typo in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:51:25 +00:00
Vadim Zeitlin
725566cab4 suppress gcc printf format warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:42:17 +00:00
Vadim Zeitlin
54933611e8 added virtual dtor to wxMacListControl to silence gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-18 00:40:16 +00:00
Robin Dunn
0d6e24c346 Forgot about dropping the 'wx' for some Python objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 23:37:32 +00:00
Włodzimierz Skiba
7d1b5cb6ea Opening first subpage initially.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 22:21:29 +00:00
Włodzimierz Skiba
f2fdc4d56e Rearranged widgets sample to show more and categorized widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 19:49:09 +00:00
Julian Smart
689f42f4b4 Documentation states scrollbars (plural) are switched off by wxHW_SCROLLBAR_NEVER,
so make sure this is true, even if the layout erroneously wants to create
a horizontal scrollbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 16:32:11 +00:00
Włodzimierz Skiba
987e9419b6 #include order with correct PCH support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:55:22 +00:00
Julian Smart
83eabba429 Fixes for compile breakage with no PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 10:42:03 +00:00
Vadim Zeitlin
ca7aeeb7d2 reset fd after closing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:13:10 +00:00
Włodzimierz Skiba
f1e0171631 Include wx/button.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 09:07:47 +00:00
Julian Smart
00dff4d222 Combobox may not be fully created at this point
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:59:36 +00:00
Václav Slavík
69328c1a88 commented OpenContainer usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:52:01 +00:00
Włodzimierz Skiba
25a9f2912d Missing 'int' interface for wxPlatform.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 08:48:31 +00:00
Robin Dunn
c15893b50e I haven't taught SWIG about wxChar, so pretend it's a wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:20:15 +00:00
Robin Dunn
05c43d4677 Clipboard events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:15:32 +00:00
Robin Dunn
7e8142e986 Use Bind for OnCloseWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 05:13:35 +00:00
Paul Cornett
add7cadd99 scrollbar handling simplification
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:54:13 +00:00
Robin Dunn
69555b5c86 Use %rename("%(wxpy)s")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:20:10 +00:00
Robin Dunn
ddc00ed1ea Set BUILD_RENAMERS default to zero.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:15:33 +00:00
Robin Dunn
d9f09ac42c Added SWIG patch that enables the wx-dropping renames to be done
internally instead of needing to be generated in a second pass after
processing the XML output.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 04:14:20 +00:00
Robin Dunn
29a41103aa Ported XRCed to the wx namespace, and also enabled the selected,
focus, and disabled bitmaps of wxBitmapButton to actually be treated
like bitmaps.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:57:57 +00:00
Robin Dunn
1d88e73a3f Allow art provider IDs for the extra bitmaps in a wxBitmapButton. (The
param value is empty in this case, but there is still a valid bimap
node.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-17 03:51:51 +00:00