Commit Graph

3284 Commits

Author SHA1 Message Date
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
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
ecc0e221ee Add raw bitmap access sample to the demo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-27 09:11:47 +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
9f54c187b0 Patch #1547057: Disable grid lines in wx.lib.printout.PrintTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 21:15:40 +00:00
Robin Dunn
8c29915355 Patch from Will Sadkin:
- Fixed masked.numctrl to properly limit integer controls, and
   also handle '-.00' properly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 21:13:58 +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
361bd11400 Avoid deprecation warnings for BeginDrawing and EndDrawing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-26 00:28:41 +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
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