Commit Graph

3272 Commits

Author SHA1 Message Date
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
086ee959df workaround sizing bug on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 19:49:15 +00:00
Robin Dunn
6c7fd46620 workaround sizing bug on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-25 19:45:24 +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
0dcc6f2287 Add BitmapFromBuffer demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-23 01:49:28 +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
4f708f05dc Added wx.lib.combotreebox from Frank Niessink
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 18:32:48 +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
4e9080bc8e fix label
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 17:32:58 +00:00
Robin Dunn
47f116ccbf Added test of using CalendarDateAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-21 17:32:18 +00:00
Robin Dunn
9389458452 Updates from Eli
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 05:09:17 +00:00
Robin Dunn
d6d222febb Change Miki's email address
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-20 04:49:34 +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
82184c0abf Patch #1540143 Add optional labelwidths to filebrowsebutton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 21:16:18 +00:00
Robin Dunn
ca501b065e Use global font and pen to reduce GDI objects created. Patch #1540457
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-19 19:22:23 +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
Robin Dunn
49cb9181b7 Let the text ctrl do the word wrapping, not the source code...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 17:30:31 +00:00
Robin Dunn
a8961943b8 add menu options for the blinds effects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 17:22:38 +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
01fdd95507 Replace the yields with updating the dirty portions of the window in
idle time.  Also remove the double buffering of the header window so
the DrawHeaderButton will work on wxGTK.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-04 04:15:32 +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
b97ff8ed66 Added color setting tool to the RichTextCtrl sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:05:30 +00:00
Robin Dunn
591ab02f8c some test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-22 23:04:08 +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
f3768653d6 Docstrings and other fixes from David Hughes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-21 16:10:42 +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
ca1863c2cc fixed merge conflict
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-17 21:45:30 +00:00