wxWidgets.git
17 years agonon-pch build fix
Paul Cornett [Tue, 29 Aug 2006 19:45:34 +0000 (19:45 +0000)] 
non-pch build fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoreSWIGged
Robin Dunn [Tue, 29 Aug 2006 19:26:06 +0000 (19:26 +0000)] 
reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40916 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoTurn off TB_TEXT by default
Robin Dunn [Tue, 29 Aug 2006 19:11:53 +0000 (19:11 +0000)] 
Turn off TB_TEXT by default

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMention the PixelData classes
Robin Dunn [Tue, 29 Aug 2006 19:00:22 +0000 (19:00 +0000)] 
Mention the PixelData classes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agosome docstring changes
Robin Dunn [Tue, 29 Aug 2006 18:59:41 +0000 (18:59 +0000)] 
some docstring changes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoNow that the typemap is handling buffer-compatible objects correctly
Robin Dunn [Tue, 29 Aug 2006 18:57:28 +0000 (18:57 +0000)] 
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

17 years agoUse PyObject_AsReadBuffer in the typemap for getting buffer or buffer
Robin Dunn [Tue, 29 Aug 2006 18:56:07 +0000 (18:56 +0000)] 
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

17 years agoAdd wxACCEL_CMD, move constants to _accel.i
Robin Dunn [Tue, 29 Aug 2006 18:53:10 +0000 (18:53 +0000)] 
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

17 years agomake sure we are feeding coordinates of HIView instances, not wx-dimensions back...
Stefan Csomor [Tue, 29 Aug 2006 12:16:47 +0000 (12:16 +0000)] 
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

17 years agoWarning fixes for VC5.
Michael Wetherell [Tue, 29 Aug 2006 09:57:41 +0000 (09:57 +0000)] 
Warning fixes for VC5.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadding command key accelerator
Stefan Csomor [Tue, 29 Aug 2006 09:29:26 +0000 (09:29 +0000)] 
adding command key accelerator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadding command key accelerator
Stefan Csomor [Tue, 29 Aug 2006 06:23:01 +0000 (06:23 +0000)] 
adding command key accelerator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoreSWIGged
Robin Dunn [Tue, 29 Aug 2006 01:03:18 +0000 (01:03 +0000)] 
reSWIGged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agonew port constants
Robin Dunn [Mon, 28 Aug 2006 18:52:25 +0000 (18:52 +0000)] 
new port constants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoTweaked the colours a bit
Robin Dunn [Mon, 28 Aug 2006 18:51:46 +0000 (18:51 +0000)] 
Tweaked the colours a bit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoglibc's vswprintf doesn't nul terminate on truncation.
Michael Wetherell [Mon, 28 Aug 2006 15:35:25 +0000 (15:35 +0000)] 
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

17 years agoCompile fixes.
Michael Wetherell [Mon, 28 Aug 2006 12:30:17 +0000 (12:30 +0000)] 
Compile fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoCompile fix.
Michael Wetherell [Mon, 28 Aug 2006 12:28:49 +0000 (12:28 +0000)] 
Compile fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoWe can't define things in someone else's namespace.
Michael Wetherell [Mon, 28 Aug 2006 12:27:39 +0000 (12:27 +0000)] 
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

17 years agoreturn false from OnInit() in console build if we failed
Vadim Zeitlin [Mon, 28 Aug 2006 10:29:23 +0000 (10:29 +0000)] 
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

17 years agodocument maxLenght and rectBounds ctor parameters; minor cleanup (use \arg, \NULL)
Vadim Zeitlin [Mon, 28 Aug 2006 10:05:23 +0000 (10:05 +0000)] 
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

17 years agoadded alpha support to wxCocoa, also fixed compilation after alpha changes hopefully
Vadim Zeitlin [Mon, 28 Aug 2006 09:53:33 +0000 (09:53 +0000)] 
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

17 years ago Corrected close button bitmap in wxAUIMultiNotebook.
Robert Roebling [Mon, 28 Aug 2006 09:38:14 +0000 (09:38 +0000)] 
  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

17 years ago Don't use wxTHICK_FRAME in the docs anymore.
Robert Roebling [Mon, 28 Aug 2006 08:41:11 +0000 (08:41 +0000)] 
  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

17 years ago Update info on wxMiniFrame.
Robert Roebling [Mon, 28 Aug 2006 08:37:41 +0000 (08:37 +0000)] 
  Update info on wxMiniFrame.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago Leave a comment about drag threshold setting.
Robert Roebling [Mon, 28 Aug 2006 08:33:23 +0000 (08:33 +0000)] 
  Leave a comment about drag threshold setting.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago More comments about non-native GTH widgets.
Robert Roebling [Mon, 28 Aug 2006 08:29:03 +0000 (08:29 +0000)] 
  More comments about non-native GTH widgets.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUse WX_CHECK_FUNCS for strtok_r.
Michael Wetherell [Mon, 28 Aug 2006 07:53:48 +0000 (07:53 +0000)] 
Use WX_CHECK_FUNCS for strtok_r.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd WX_CHECK_FUNCS (instead of WX_CHECK_DECLS). It checks for functions in
Michael Wetherell [Mon, 28 Aug 2006 07:48:26 +0000 (07:48 +0000)] 
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

17 years ago Corrected off-by-1 error in dock test.
Robert Roebling [Sun, 27 Aug 2006 20:07:14 +0000 (20:07 +0000)] 
  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

17 years ago The docking logic in the top and right docking areas
Robert Roebling [Sun, 27 Aug 2006 19:58:56 +0000 (19:58 +0000)] 
  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

17 years agoRemoved more references to removed source file.
Stefan Neis [Sun, 27 Aug 2006 18:16:55 +0000 (18:16 +0000)] 
Removed more references to removed source file.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoFixed OS/2 specific defines (there's no such thing as WXOS2).
Stefan Neis [Sun, 27 Aug 2006 16:40:17 +0000 (16:40 +0000)] 
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

17 years agoRemoved no longer needed/existing file os2/gdiobj.cpp from filelist.
Stefan Neis [Sun, 27 Aug 2006 16:36:41 +0000 (16:36 +0000)] 
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

17 years agoChanged font generation to follow new pattern of other ports more closely.
Stefan Neis [Sun, 27 Aug 2006 16:27:50 +0000 (16:27 +0000)] 
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

17 years ago Correct calculation of sticky toolbar.
Robert Roebling [Sun, 27 Aug 2006 15:45:12 +0000 (15:45 +0000)] 
  Correct calculation of sticky toolbar.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago Change drag threshhold (why was it multiplied
Robert Roebling [Sun, 27 Aug 2006 15:42:09 +0000 (15:42 +0000)] 
  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

17 years agostarted making the list of widgets not implemented natively in wxGTK
Vadim Zeitlin [Sun, 27 Aug 2006 15:19:39 +0000 (15:19 +0000)] 
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

17 years ago Made toolbars sticky, i.e. you need to drag them
Robert Roebling [Sun, 27 Aug 2006 15:19:39 +0000 (15:19 +0000)] 
  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

17 years agocall Update() from SetStatusText() to ensure that the message is shown to the user...
Vadim Zeitlin [Sun, 27 Aug 2006 15:13:36 +0000 (15:13 +0000)] 
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

17 years agorelax DFB version requirements to work with 0.9.22 and not only the latest 0.9.25
Vadim Zeitlin [Sun, 27 Aug 2006 13:45:58 +0000 (13:45 +0000)] 
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

17 years agoDFEC_UNIVERSAL is not available in DirectFB < 0.9.23, use wxCHECK_DFB_VERSION() around it
Vadim Zeitlin [Sun, 27 Aug 2006 13:15:29 +0000 (13:15 +0000)] 
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

17 years agoadded wxCHECK_DFB_VERSION() macro
Vadim Zeitlin [Sun, 27 Aug 2006 13:13:41 +0000 (13:13 +0000)] 
added wxCHECK_DFB_VERSION() macro

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremoved g_eraseGC and wxWinModule used for initializing it as it was unused
Vadim Zeitlin [Sun, 27 Aug 2006 10:12:10 +0000 (10:12 +0000)] 
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

17 years ago Removed one of the jumping toolbar artefacts.
Robert Roebling [Sun, 27 Aug 2006 10:10:16 +0000 (10:10 +0000)] 
  Removed one of the jumping toolbar artefacts.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoassert that GTKGetWindow() returns non-NULL GdkWindows
Vadim Zeitlin [Sun, 27 Aug 2006 10:04:28 +0000 (10:04 +0000)] 
assert that GTKGetWindow() returns non-NULL GdkWindows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoinitial (not yet working) code for DirectFB port
Václav Slavík [Sun, 27 Aug 2006 09:42:42 +0000 (09:42 +0000)] 
initial (not yet working) code for DirectFB port

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agomade wxCSConv fall back to iso-8859-1 if wxFONTENCODING_SYSTEM is specified and wxLoc...
Václav Slavík [Sun, 27 Aug 2006 09:29:25 +0000 (09:29 +0000)] 
made wxCSConv fall back to iso-8859-1 if wxFONTENCODING_SYSTEM is specified and wxLocale cannot be used to determine the default charset because wxUSE_INTL=0

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agohint to alpha colours added
Stefan Csomor [Sun, 27 Aug 2006 09:23:58 +0000 (09:23 +0000)] 
hint to alpha colours added

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRename the C++ Iterator class to Accessor, and add a Python Iterator
Robin Dunn [Sun, 27 Aug 2006 09:16:46 +0000 (09:16 +0000)] 
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

17 years agoadding alpha channel doc
Stefan Csomor [Sun, 27 Aug 2006 09:13:44 +0000 (09:13 +0000)] 
adding alpha channel doc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd raw bitmap access sample to the demo
Robin Dunn [Sun, 27 Aug 2006 09:11:47 +0000 (09:11 +0000)] 
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

17 years agoGTK+ paints during idle time, it doesn't need help with that
Paul Cornett [Sun, 27 Aug 2006 00:57:37 +0000 (00:57 +0000)] 
GTK+ paints during idle time, it doesn't need help with that

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoDo premultiplication in wx*PixelData_Iterator::Get and Set
Robin Dunn [Sun, 27 Aug 2006 00:46:22 +0000 (00:46 +0000)] 
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

17 years agoreturning true is sufficient to stop signal emission
Paul Cornett [Sun, 27 Aug 2006 00:31:39 +0000 (00:31 +0000)] 
returning true is sufficient to stop signal emission

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't crash when EnsureVisible() is called for the hidden root item
Vadim Zeitlin [Sat, 26 Aug 2006 22:26:53 +0000 (22:26 +0000)] 
don't crash when EnsureVisible() is called for the hidden root item

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't call EnsureVisible(tree->GetRootItem()) for a tree with hidden root, this crash...
Vadim Zeitlin [Sat, 26 Aug 2006 22:21:11 +0000 (22:21 +0000)] 
don't call EnsureVisible(tree->GetRootItem()) for a tree with hidden root, this crashes under MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agouse "event" signal emission hook to install idle handler for many events
Paul Cornett [Sat, 26 Aug 2006 22:07:45 +0000 (22:07 +0000)] 
use "event" signal emission hook to install idle handler for many events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't tie up cpu in idle loop when showing assert dialog
Paul Cornett [Sat, 26 Aug 2006 22:04:21 +0000 (22:04 +0000)] 
don't tie up cpu in idle loop when showing assert dialog

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoPatch #1547057: Disable grid lines in wx.lib.printout.PrintTable
Robin Dunn [Sat, 26 Aug 2006 21:15:40 +0000 (21:15 +0000)] 
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

17 years agoPatch from Will Sadkin:
Robin Dunn [Sat, 26 Aug 2006 21:13:58 +0000 (21:13 +0000)] 
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

17 years agowxURLDataObject has a parameter
Robin Dunn [Sat, 26 Aug 2006 20:40:24 +0000 (20:40 +0000)] 
wxURLDataObject has a parameter

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd alpha component to wxColour
Robin Dunn [Sat, 26 Aug 2006 20:37:29 +0000 (20:37 +0000)] 
Add alpha component to wxColour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd needed includes, remove unneeded ones
Paul Cornett [Sat, 26 Aug 2006 18:37:51 +0000 (18:37 +0000)] 
add needed includes, remove unneeded ones

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agocorrect idle tag type; remove unneeded includes
Paul Cornett [Sat, 26 Aug 2006 18:36:19 +0000 (18:36 +0000)] 
correct idle tag type; remove unneeded includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremove special pending idle callback, pending events are handled by common code;...
Paul Cornett [Sat, 26 Aug 2006 18:35:03 +0000 (18:35 +0000)] 
remove special pending idle callback, pending events are handled by common code; remove unneeded includes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadding constants
Stefan Csomor [Sat, 26 Aug 2006 16:16:16 +0000 (16:16 +0000)] 
adding constants

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agogetting rid of unused param warning
Stefan Csomor [Sat, 26 Aug 2006 13:43:15 +0000 (13:43 +0000)] 
getting rid of unused param warning

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadding alpha to core graphics dc
Stefan Csomor [Sat, 26 Aug 2006 13:35:08 +0000 (13:35 +0000)] 
adding alpha to core graphics dc

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadding alpha to wxColour
Stefan Csomor [Sat, 26 Aug 2006 13:33:09 +0000 (13:33 +0000)] 
adding alpha to wxColour

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoRemoved wxHTML_FONT_SIZE_x
Robin Dunn [Sat, 26 Aug 2006 00:53:25 +0000 (00:53 +0000)] 
Removed wxHTML_FONT_SIZE_x

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoComputeScaleAndOrigin not protected anymore
Robin Dunn [Sat, 26 Aug 2006 00:52:46 +0000 (00:52 +0000)] 
ComputeScaleAndOrigin not protected anymore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAvoid deprecation warnings for BeginDrawing and EndDrawing
Robin Dunn [Sat, 26 Aug 2006 00:28:41 +0000 (00:28 +0000)] 
Avoid deprecation warnings for BeginDrawing and EndDrawing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't set cursor for not realized (and not only hidden) windows
Vadim Zeitlin [Fri, 25 Aug 2006 22:50:30 +0000 (22:50 +0000)] 
don't set cursor for not realized (and not only hidden) windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agooverride OnAssertFailure(), not OnAssert() which is not called by wxOnAssert() any...
Vadim Zeitlin [Fri, 25 Aug 2006 22:48:07 +0000 (22:48 +0000)] 
override OnAssertFailure(), not OnAssert() which is not called by wxOnAssert() any longer

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoUse the width of the widest line (not the first line) for the max
Robin Dunn [Fri, 25 Aug 2006 22:12:07 +0000 (22:12 +0000)] 
Use the width of the widest line (not the first line) for the max
width of the tooltip.  Also, don't set a narrower width if the tooltip
control already has a wider one.  It will automatically adjust smaller
if needed based on the \n's in the text.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd wx.App.DisplayAvailable() which can be used to determine if a GUI
Robin Dunn [Fri, 25 Aug 2006 21:53:12 +0000 (21:53 +0000)] 
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

17 years agoworkaround sizing bug on Mac
Robin Dunn [Fri, 25 Aug 2006 19:49:15 +0000 (19:49 +0000)] 
workaround sizing bug on Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoworkaround sizing bug on Mac
Robin Dunn [Fri, 25 Aug 2006 19:45:24 +0000 (19:45 +0000)] 
workaround sizing bug on Mac

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoquote an underscore
Vadim Zeitlin [Fri, 25 Aug 2006 17:26:57 +0000 (17:26 +0000)] 
quote an underscore

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremoved extra '}'
Vadim Zeitlin [Fri, 25 Aug 2006 17:23:01 +0000 (17:23 +0000)] 
removed extra '}'

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't hardcode HTML font sizes, this makes wxHtmlWindow look really ugly when default...
Vadim Zeitlin [Fri, 25 Aug 2006 16:52:58 +0000 (16:52 +0000)] 
don't hardcode HTML font sizes, this makes wxHtmlWindow look really ugly when default font size is not 12, base the default font sizes on wxNORMAL_FONT instead

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoshouldn't update cursor for hidden windows
Vadim Zeitlin [Fri, 25 Aug 2006 16:05:56 +0000 (16:05 +0000)] 
shouldn't update cursor for hidden windows

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoremove the object from wxPendingDelete list before deleting it to avoid infinite...
Vadim Zeitlin [Fri, 25 Aug 2006 15:49:11 +0000 (15:49 +0000)] 
remove the object from wxPendingDelete list before deleting it to avoid infinite loop if DeletePendingObject() is reentered from object dtor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoWarning fix.
Włodzimierz Skiba [Fri, 25 Aug 2006 14:09:34 +0000 (14:09 +0000)] 
Warning fix.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoreset busy cursor checkbox when switching to another control
Vadim Zeitlin [Fri, 25 Aug 2006 13:23:47 +0000 (13:23 +0000)] 
reset busy cursor checkbox when switching to another control

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agochanged GTKCallbackCommonPrologue() to return -1 in addition to true and false to...
Vadim Zeitlin [Fri, 25 Aug 2006 13:22:32 +0000 (13:22 +0000)] 
changed GTKCallbackCommonPrologue() to return -1 in addition to true and false to allow returning immediately with true return code

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoforgot GTKSetDelayedFocusIfNeeded() call in the last commit
Vadim Zeitlin [Fri, 25 Aug 2006 13:07:16 +0000 (13:07 +0000)] 
forgot GTKSetDelayedFocusIfNeeded() call in the last commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMany changes:
Vadim Zeitlin [Fri, 25 Aug 2006 13:06:19 +0000 (13:06 +0000)] 
Many changes:
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
  given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
  virtual function (the new one is non-virtual and is implemented in terms of
  GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
  returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
  which now updates the cursor, checks for internal focus and sends update UI
  events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMany changes:
Vadim Zeitlin [Fri, 25 Aug 2006 12:59:28 +0000 (12:59 +0000)] 
Many changes:
- Introduced GTKGetWindow() which returns all GdkWindows associated with the
  given wxWindow
- Renamed IsOwnGtkWindow() to GTKIsOwnWindow() to avoid confusion with the old
  virtual function (the new one is non-virtual and is implemented in terms of
  GTKGetWindow())
- Refactored/simplified event handlers code in gtk/window.cpp
- Fixed some header guards names (__GTKFOO__ -> _WX_GTK_FOO_H_)
- Added GTKUpdateCursor() which sets the current cursor for all windows
  returned by GTKGetWindow()
- Factored out code from many different classes in wxControl::OnInternalIdle()
  which now updates the cursor, checks for internal focus and sends update UI
  events

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoMissing API.
Włodzimierz Skiba [Fri, 25 Aug 2006 11:21:14 +0000 (11:21 +0000)] 
Missing API.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years ago Patches for OpenVMS port
Jouk Jansen [Fri, 25 Aug 2006 06:56:52 +0000 (06:56 +0000)] 
  Patches for OpenVMS port

 Modified Files:
wxWidgets/setup.h_vms wxWidgets/src/common/descrip.mms
  wxWidgets/src/generic/descrip.mms
  wxWidgets/src/gtk/descrip.mms wxWidgets/src/gtk1/descrip.mms
  wxWidgets/src/motif/descrip.mms wxWidgets/src/x11/descrip.mms

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoset depth to 32 when creating pixbuf from wxImage with alpha; correct a few comments
Paul Cornett [Fri, 25 Aug 2006 06:27:34 +0000 (06:27 +0000)] 
set depth to 32 when creating pixbuf from wxImage with alpha; correct a few comments

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd wrappers for wxNativePixelData and wxAlphaPixelData
Robin Dunn [Fri, 25 Aug 2006 03:30:20 +0000 (03:30 +0000)] 
Add wrappers for wxNativePixelData and wxAlphaPixelData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoStill check for a Python error in %threadWrapperOff
Robin Dunn [Fri, 25 Aug 2006 03:21:18 +0000 (03:21 +0000)] 
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

17 years agoDefault construcctor for Iterator
Robin Dunn [Fri, 25 Aug 2006 03:19:06 +0000 (03:19 +0000)] 
Default construcctor for Iterator

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoAdd apptrait.h for msdos
Michael Wetherell [Thu, 24 Aug 2006 21:18:18 +0000 (21:18 +0000)] 
Add apptrait.h for msdos

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoprevent selecting the treebook items without corresponding pages to ensure that Curre...
Vadim Zeitlin [Thu, 24 Aug 2006 21:05:20 +0000 (21:05 +0000)] 
prevent selecting the treebook items without corresponding pages to ensure that CurrentPage() always returns something non NULL and removed the checks for it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agodon't reset the selection after event was vetoed if there is no old selection
Vadim Zeitlin [Thu, 24 Aug 2006 21:00:07 +0000 (21:00 +0000)] 
don't reset the selection after event was vetoed if there is no old selection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded tests for setting the cursor
Vadim Zeitlin [Thu, 24 Aug 2006 20:26:59 +0000 (20:26 +0000)] 
added tests for setting the cursor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775