Commit Graph

35602 Commits

Author SHA1 Message Date
Robin Dunn
a3511a2e06 supress some unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 16:34:57 +00:00
Robin Dunn
3030ae493d Aliases for [G|S]etCaretLineBack
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 16:02:23 +00:00
Robin Dunn
8b3d52fc71 Only use raw bitmap if it is available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 16:01:45 +00:00
Włodzimierz Skiba
bceff574a8 wx/image.h is listed in wx/wx.h and part of PCH support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 13:46:09 +00:00
Julian Smart
5dcdfe6d8a Fixed compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 13:40:03 +00:00
Vadim Zeitlin
2e7f384517 don't use static buffer needing a critical section to protect it for logging; this results in deadlocks if the log sink decides to log itself (and this can be very difficult to prevent) and is unnecessary anyhow as the initial goal of allowing wxLog to work even for out of memory errors has never been tested and presumably never worked
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 11:31:02 +00:00
Robin Dunn
6a93571daf Provide an implementation for SurfaceImpl::AlphaRectangle, and rename
[G|S]etCaretLineBack


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-31 05:35:26 +00:00
Stefan Neis
be2e4015f5 Only support detection of "near the edge" coordinates, if dragging grid lines
is actually enabled (Fixes #548106 - Border of grid lines of wx.grid).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 22:38:14 +00:00
Robin Dunn
195a89b47c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 19:29:31 +00:00
Stefan Neis
930a9efaf1 Fixed getting OS version information.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 17:14:57 +00:00
Paul Cornett
5c351979c3 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 16:15:42 +00:00
Julian Smart
4e6cc020c3 Don't skip event if default processing has inserted a tab
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 12:47:29 +00:00
Michael Wetherell
ab75fdbdcd Build notes for Cygwin.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 11:17:14 +00:00
Michael Wetherell
3c8813b6c0 Use CPPUNIT_ASSERT_EQUAL where possible to improve messages.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 08:39:06 +00:00
Michael Wetherell
2c94045365 Stream inserter to wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-30 08:37:39 +00:00
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