Commit Graph

34230 Commits

Author SHA1 Message Date
Paul Cornett
24c2029f69 parenthesize macro replacement containing operator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 06:47:11 +00:00
Paul Cornett
dd0d56f5c7 remove unneeded includes from mac/carbon/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:47:39 +00:00
Paul Cornett
813b6b3f88 correct wxString forward declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:44:22 +00:00
Paul Cornett
6a423d6544 remove unneeded include of mac/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:43:06 +00:00
Paul Cornett
aba610e77a non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 05:41:25 +00:00
Paul Cornett
eb721ee29f remove unneeded declarations missed in previous commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:41:27 +00:00
Paul Cornett
3cb7a9ca75 avoid float to double conversion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-20 02:39:54 +00:00
Robin Dunn
13bf44b079 Demo the page setup dialog instead of the print setup dialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 22:58:12 +00:00
Włodzimierz Skiba
c64755ed1a Include wx/brush.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 19:47:45 +00:00
Włodzimierz Skiba
e36bdde2c2 wxUniv setup up to date (sync. before joining family of setups updated by script).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 18:44:07 +00:00
Paul Cornett
12a480c12d gtk slider code simplification and better event determination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:37 +00:00
Paul Cornett
49ca2a9920 using defined in a macro has undefined behavior
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 16:57:07 +00:00
Paul Cornett
7c98266873 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 15:12:56 +00:00
Włodzimierz Skiba
d8a731eed4 Tinderbox build fix: preprocessing directive not recognized within macro arg.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 10:17:43 +00:00
Włodzimierz Skiba
339039581a Build fix for link error in new combo code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 10:13:57 +00:00
Włodzimierz Skiba
f559024395 Include wx/pen.h according to precompiled headers of wx/wx.h (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 09:37:38 +00:00
Stefan Csomor
f3ba97e8c2 fixing style and underline information transfer back
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 06:57:15 +00:00
Paul Cornett
dbaf49a996 non-pch universal build fix: combo.h should not include combobox.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:21:20 +00:00
Paul Cornett
38009079fb universal build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-05-19 05:17:59 +00:00
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