Commit Graph

35437 Commits

Author SHA1 Message Date
Paul Cornett
0416c41834 header includes cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 05:55:56 +00:00
Robin Dunn
7705c34da4 Add ability to time the creation of the bitmaps using raw access, and
also compare with doing the same thign via numpy and
wx.BitmapFrombuffer.  Flesh out the docstring.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 00:28:41 +00:00
Robin Dunn
1ff2acae07 some efficiency tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 00:19:25 +00:00
Robin Dunn
9bcdb6310e Fixed premultiplying constant
Replaced my kludgy first attempt at a pixel iterator with a much more
efficient generator in PixelData.__init__.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 00:18:13 +00:00
Václav Slavík
198d7c6cb9 fixed crash in <sub/sup> handling (bug #1545152)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 21:08:39 +00:00
Robin Dunn
6e28ff0ce7 Give PlotCanvas the full compliment of constructor parameters again.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:59:24 +00:00
Paul Cornett
32b9d9ff97 non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:45:34 +00:00
Robin Dunn
eec1c382d0 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:26:06 +00:00
Robin Dunn
8989034ec9 Turn off TB_TEXT by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:11:53 +00:00
Robin Dunn
64117075ab Mention the PixelData classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 19:00:22 +00:00
Robin Dunn
8423bd78bb some docstring changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:59:41 +00:00
Robin Dunn
bf64693b34 Now that the typemap is handling buffer-compatible objects correctly
we can drop wrapping the parameters in a buffer()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:57:28 +00:00
Robin Dunn
074d2e0449 Use PyObject_AsReadBuffer in the typemap for getting buffer or buffer
compatible  objects


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:56:07 +00:00
Robin Dunn
1cc14cea1c Add wxACCEL_CMD, move constants to _accel.i
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 18:53:10 +00:00
Stefan Csomor
da14a87dee make sure we are feeding coordinates of HIView instances, not wx-dimensions back into toolbar layout
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 12:16:47 +00:00
Michael Wetherell
c2b2c10ed6 Warning fixes for VC5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 09:57:41 +00:00
Stefan Csomor
119a78753d adding command key accelerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 09:29:26 +00:00
Stefan Csomor
e3141a349e adding command key accelerator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 06:23:01 +00:00
Robin Dunn
fc46b7f37c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-29 01:03:18 +00:00
Robin Dunn
a0ef52c038 new port constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 18:52:25 +00:00
Robin Dunn
58a1f9d01f Tweaked the colours a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 18:51:46 +00:00
Michael Wetherell
8dd57590c2 glibc's vswprintf doesn't nul terminate on truncation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 15:35:25 +00:00
Michael Wetherell
10b7d13cdb Compile fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:30:17 +00:00
Michael Wetherell
c7a855e199 Compile fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:28:49 +00:00
Michael Wetherell
64e941edd4 We can't define things in someone else's namespace.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 12:27:39 +00:00
Vadim Zeitlin
d49be4203e return false from OnInit() in console build if we failed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 10:29:23 +00:00
Vadim Zeitlin
2511d95968 document maxLenght and rectBounds ctor parameters; minor cleanup (use \arg, \NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 10:05:23 +00:00
Vadim Zeitlin
7106497983 added alpha support to wxCocoa, also fixed compilation after alpha changes hopefully
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 09:53:33 +00:00
Robert Roebling
df00bdf773 Corrected close button bitmap in wxAUIMultiNotebook.
Added test for wxAUIMultiNotebook to aui sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 09:38:14 +00:00
Robert Roebling
1d4758e142 Don't use wxTHICK_FRAME in the docs anymore.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:41:11 +00:00
Robert Roebling
a33db51cb9 Update info on wxMiniFrame.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:37:41 +00:00
Robert Roebling
9fcdfe053a Leave a comment about drag threshold setting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:33:23 +00:00
Robert Roebling
14e9ff98e6 More comments about non-native GTH widgets.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 08:29:03 +00:00
Michael Wetherell
56632e818f Use WX_CHECK_FUNCS for strtok_r.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 07:53:48 +00:00
Michael Wetherell
040b34976e Add WX_CHECK_FUNCS (instead of WX_CHECK_DECLS). It checks for functions in
both headers and libs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-28 07:48:26 +00:00
Robert Roebling
12125a1eff Corrected off-by-1 error in dock test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 20:07:14 +00:00
Robert Roebling
26d18378e5 The docking logic in the top and right docking areas
was reversed. There is still an off-by-1 error that
    makes the toolbar jump in the bottom dock, not in
    the top dock.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 19:58:56 +00:00
Stefan Neis
b6f802f88a Removed more references to removed source file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 18:16:55 +00:00
Stefan Neis
8ab09e65f9 Fixed OS/2 specific defines (there's no such thing as WXOS2).
Added the more commonly used wxPORT_PM as alias for wxPORT_OS2.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:40:17 +00:00
Stefan Neis
d1c3843c77 Removed no longer needed/existing file os2/gdiobj.cpp from filelist.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:36:41 +00:00
Stefan Neis
109c92042a Changed font generation to follow new pattern of other ports more closely.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 16:27:50 +00:00
Robert Roebling
97d483e41a Correct calculation of sticky toolbar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:45:12 +00:00
Robert Roebling
1e7373d0d3 Change drag threshhold (why was it multiplied
by 2 before?).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:42:09 +00:00
Vadim Zeitlin
fb8bf382fb started making the list of widgets not implemented natively in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:19:39 +00:00
Robert Roebling
c3008402f7 Made toolbars sticky, i.e. you need to drag them
several (and not just one) pixels away from the
    docking area to make them undock/float. This
    removes some more toolbar jumping.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:19:39 +00:00
Vadim Zeitlin
e5e0c72763 call Update() from SetStatusText() to ensure that the message is shown to the user immediately
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 15:13:36 +00:00
Vadim Zeitlin
737d3175f3 relax DFB version requirements to work with 0.9.22 and not only the latest 0.9.25
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:45:58 +00:00
Vadim Zeitlin
dc4451c2c4 DFEC_UNIVERSAL is not available in DirectFB < 0.9.23, use wxCHECK_DFB_VERSION() around it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:15:29 +00:00
Vadim Zeitlin
9800ae335a added wxCHECK_DFB_VERSION() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 13:13:41 +00:00
Vadim Zeitlin
5540f0ba6c removed g_eraseGC and wxWinModule used for initializing it as it was unused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 10:12:10 +00:00