Commit Graph

35594 Commits

Author SHA1 Message Date
Vadim Zeitlin
388a1f6624 define debugging log functions as (empty inline) wxLogNop() instead of nothing in the release builds, this ensures that we have the same code structure in debug/release builds and so there are no bugs when these functions are used inside if/else while also ensuring that even dumbest compilers do remove them completely in release builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:45:06 +00:00
Robert Roebling
fe8635a7e7 Applied wxGauge:Pulse() patch.
[ 1551409 ] Support for indeterminate mode gauges


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:36:54 +00:00
Vadim Zeitlin
9804c4d95c undid last 2 commits, there are many more cases like this so it's better to fix this problem in a different way in wx/log.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:25:01 +00:00
Vadim Zeitlin
e6113e3a52 more warning fixes about empty if statement in helper classes in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 13:10:32 +00:00
Vadim Zeitlin
8b76325cdc fix warning about empty if statement in HDCClipper ctor in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41086 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 12:55:05 +00:00
Robert Roebling
a124f99a24 Apply patch [ 1554736 ] wxXmlDocument::DetachRoot
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:35:32 +00:00
Robert Roebling
fa6a837300 Apply patch [ 1554746 ] wxXmlNode::InsertChild fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 11:32:10 +00:00
Robin Dunn
afd7bf26f1 Don't let the built-in scrollbars confuse things when setting focus to
a wxScrolledWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 06:34:08 +00:00
Paul Cornett
8a378a9e16 add emission hook from RemoveIdleSource (was RemoveIdleTag); minor cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 04:53:02 +00:00
Paul Cornett
4bc4bae185 remove unneeded DoGetClientSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:43:31 +00:00
Paul Cornett
6934602337 don't set negative window size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:42:48 +00:00
Paul Cornett
cd38dd5ba0 keep AdjustScrollbars from causing an infinite series of size events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 02:41:29 +00:00
Robin Dunn
d3e6a1f2db Remove some testing code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-09 00:38:53 +00:00
Robin Dunn
a3cee65ed4 Use GetKeyCode() instead of KeyCode()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:09:27 +00:00
Robin Dunn
2f72b58ae6 Show status of wxMac CoreGraphics build option
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:08:21 +00:00
Robin Dunn
04a1f76c2a Add items to wx.PlatformInfo for mac core graphics and native toolbar
build status


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:05:19 +00:00
Robin Dunn
97b2445934 It is not "Invalid" to have a menu item without an accelerator, so
don't be noisy about it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 20:04:15 +00:00
Robin Dunn
59780c72c6 Added sample showing Alpha drawing for Mac with CoreGraphics
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 18:16:06 +00:00
Václav Slavík
716af436dc don't try to paint hidden windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 17:39:27 +00:00
Václav Slavík
071f5576a0 fixed wxDC to correctly handle SetFoo(wxNullFoo) calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 15:29:55 +00:00
Robin Dunn
0ac091aecd deTABified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 15:15:36 +00:00
Václav Slavík
b4ca59760e added newline to the end of the file to prevent gcc warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 14:38:49 +00:00
Václav Slavík
14ac4e3a8e don't try to paint hidden windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 11:52:02 +00:00
Vadim Zeitlin
801a54412a define WS_EX_LAYOUTRTL for older compilers/SDK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 10:32:23 +00:00
Robert Roebling
f6f1f4adbf Sadly, direct access to SetUpDC is required for the
native custom rendering of wxDataViewCells


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 09:45:10 +00:00
Stefan Csomor
9d5ccdd326 fixing ownership and positioning of embedded controls in native toolbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 08:46:05 +00:00
Stefan Csomor
8c981ec64d make sure we catch invalid control refs better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 08:27:32 +00:00
Chris Elliott
9c3af83154 fix for SF bug 1543862 - add missing Makefile.in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 07:49:01 +00:00
Robin Dunn
97ab0f6ab4 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 03:38:52 +00:00
Robin Dunn
ac5d357a44 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 03:31:18 +00:00
Robin Dunn
8e1a5d3aa9 another parameter type fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 02:56:16 +00:00
Robin Dunn
df4895f610 wxMac's glcanvas doesn't have the new API changes yet...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 02:47:56 +00:00
Robin Dunn
76b8fa1d20 More properties
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 01:08:36 +00:00
Robin Dunn
925430af06 adapt to wxGLCanvas changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-08 01:05:13 +00:00
Vadim Zeitlin
5039a2df01 define wx_cv_func_snprintf_pos_params when cross-compiling too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 22:03:11 +00:00
Włodzimierz Skiba
57bd4c6031 Include wx/msw/wrap*.h according to pch support (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 19:01:45 +00:00
Robin Dunn
8383c11698 Comment why we don't call PyErr_Print after calling OnInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:19:22 +00:00
Robin Dunn
49e0b673c3 Update from Frank with fixes for running on wxMSW 2.7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:14:57 +00:00
Paul Cornett
9cf7a6c06b don't use negative windows sizes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 17:06:29 +00:00
Vadim Zeitlin
4322f94f29 fix wxSTOCK_WITH_MNEMONIC handling (was reversed after recent changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:53:22 +00:00
Paul Cornett
6a8a390322 remove a few unnecessary queue_resize/queue_draw calls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:40:20 +00:00
Václav Slavík
3083f142d9 use GetCharHeight in GetHeight() instead of creating temporary wxClientDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:11:03 +00:00
Václav Slavík
dbbdd3465f make sure wxWindow has valid (albeit bogus) size from the beginning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:09:48 +00:00
Václav Slavík
78d2c24197 don't create a subsurface in wxClientDC unless necessary
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:08:19 +00:00
Paul Cornett
b5e31cc8e2 GtkOnSize parameters aren't useful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 16:06:47 +00:00
Chris Elliott
e40821559e fix path of pdf zip file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 14:49:23 +00:00
Robert Roebling
64321998df Applied FRM's patch [ 1553958 ] Fix for invalid cast from
GtkFileChooserButton to GtkButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 13:24:08 +00:00
Chris Elliott
c2c435c9d8 fix directory creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 12:46:08 +00:00
Chris Elliott
52c636e073 fix broken bz2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 12:44:40 +00:00
Václav Slavík
17dd5538ef verify that we're not painting on hidden window (which is not implemented)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-07 11:14:52 +00:00