Commit Graph

1827 Commits

Author SHA1 Message Date
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
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
97c7d01d12 Rename the C++ Iterator class to Accessor, and add a Python Iterator
class that implements the Python itrerator interface.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:16:46 +00:00
Robin Dunn
c4caf81dbc Do premultiplication in wx*PixelData_Iterator::Get and Set
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 00:46:22 +00:00
Robin Dunn
d464551409 wxURLDataObject has a parameter
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 20:40:24 +00:00
Robin Dunn
28cc717d5a Add alpha component to wxColour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 20:37:29 +00:00
Robin Dunn
f2a2796dae Removed wxHTML_FONT_SIZE_x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:53:25 +00:00
Robin Dunn
25e29eb243 ComputeScaleAndOrigin not protected anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:52:46 +00:00
Robin Dunn
4d9de11075 Add wx.App.DisplayAvailable() which can be used to determine if a GUI
can be created in the current environment.  (Still need an
implementation for wxMSW...)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 21:53:12 +00:00
Robin Dunn
777dffec69 Add wrappers for wxNativePixelData and wxAlphaPixelData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:30:20 +00:00
Robin Dunn
7499bd8874 Still check for a Python error in %threadWrapperOff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 03:21:18 +00:00
Robin Dunn
1d1972fce1 Premultiply the alpha on wxMSW in the BitmapFromBuffer* functions so
the programmers don't have to worry about it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:52:20 +00:00
Robin Dunn
238ba802f1 Added wx.BitmapFromBuffer and wx.BitmapFromBufferRGBA factory functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 17:27:42 +00:00
Robin Dunn
bf7df69ef6 Refactored wx.ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-22 17:23:54 +00:00
Robin Dunn
b58d5e2d95 Move CanSetTransparent and SetTransparent up to wxWindowBase since
wxMac can handle transparency at that level.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:30:34 +00:00
Robin Dunn
4caf1fc560 Adapt to some wxDC methods becoming protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:28:35 +00:00
Robin Dunn
d4a724d407 Make it possible to tell wxXmlResource which domain to pull
translatable strings from.

Make the wxLocale::GetString methods virtual so they can be overridden
in derived classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:27:15 +00:00
Robin Dunn
90fb367e86 Add dtor for wxCalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:46:07 +00:00
Robin Dunn
09c4bfc330 Various updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:20:58 +00:00
Robin Dunn
a86960861f Add ImageFromBuffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:19:39 +00:00
Robin Dunn
955464837e Remove wxColour* typemap, it causes more problems than it solves.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 21:38:54 +00:00
Robin Dunn
424752bc36 Add typemaps for wxColour*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:50:33 +00:00
Robin Dunn
8e1222c7cd Add wx.Rect.InsideRect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:50:06 +00:00
Robin Dunn
5472694a7d Add wxWS_EX_CONTEXTHELP, leaving wxFRAME_EX_CONTEXTHELP and
wxDIALOG_EX_CONTEXTHELP for compatibility.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-09 18:49:31 +00:00
Vadim Zeitlin
078a6f207e (manually) removed more mentions of CB_FILENAME to fix the build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 15:43:18 +00:00
Vadim Zeitlin
496e3c3c02 removed wxCB_FILENAME (manually, just to fix the build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 14:39:06 +00:00
Robin Dunn
587d0f3614 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:35:13 +00:00
Robin Dunn
c428754898 Add wx.menuBar.UpdateMenus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:30:37 +00:00
Robin Dunn
0f83f5da39 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:14:02 +00:00
Robin Dunn
34e0a3bbdc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 18:06:52 +00:00
Robin Dunn
3f847dc245 Don't confuse SWIG with static and non-static methods of the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 17:44:23 +00:00
Robin Dunn
a8ec3708f6 Update __DocFilter to skip functions that are duplicates of static
functions in a class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-01 17:36:33 +00:00
Robin Dunn
955e46d25d typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:19:59 +00:00
Robin Dunn
e6ab1c5756 Added wxCB_FILENAME
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:12:53 +00:00
Robin Dunn
e249d3c0dc Added wxMouseCaptureLostEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-31 19:12:07 +00:00
Robin Dunn
1eeb270e7c reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:30:45 +00:00
Robin Dunn
10044bf187 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 23:05:38 +00:00
Robin Dunn
6aaca5bac6 Various little tweaks to get up to date with CVS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-29 21:49:25 +00:00
Robin Dunn
1c976bff2d Added support for the wxAUI Notebook
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:02:47 +00:00
Robin Dunn
b1dc7b4c5d Change the other OnAssert --> OnAssertFailure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:01:44 +00:00
Robin Dunn
941afb6b65 out typemap for wxMemorySize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-20 20:55:59 +00:00
Robin Dunn
6ec59a2bf9 Wrap new AddPane method as AddPaneAtPos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:34:32 +00:00
Robin Dunn
a9a04486a2 GetTmpDefaultItem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:32:24 +00:00
Robin Dunn
07880314d4 Translucency --> Transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:30:08 +00:00
Robin Dunn
50f3c41d61 Added wxTopLevelWindow::SetTranslucency and CanSetTranslucency, with
implementations (so far) for wxMSW and wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-16 03:28:23 +00:00
Robin Dunn
20eebe1aa8 Don't let SWIG see the wxTreeCtrl name anywhere so it will use the
type_info for our wxPyTreeCtrl instead.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 19:57:20 +00:00
Robin Dunn
d7a7616b9d Get/SetManagedWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-14 01:26:04 +00:00
Robin Dunn
5d9dedfe38 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-13 02:49:13 +00:00