Vadim Zeitlin
220f77b0d2
restored using DeferWindowPos() for moving all windows at once (this does help with flicker somewhat) but now call EndDeferWindowPos() from WM_WINDOWPOSCHANGED handler, not WM_SIZE one which is never generated for the dialogs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 18:57:41 +00:00
Vadim Zeitlin
dd12ce22d8
fixed background drawing for opaque controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 21:07:33 +00:00
Vadim Zeitlin
57be9aac75
reverted use of DeferWindowPos() instead of MoveWindow()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 01:05:13 +00:00
Włodzimierz Skiba
e2bcbdfbc7
Metric conversion constants not doubled in each port code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:25:59 +00:00
Vadim Zeitlin
d35dce3a2e
end label editing if the control loses focus (slightly modified patch 1084592)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 01:23:52 +00:00
Vadim Zeitlin
9b6ae4506e
use DeferWindowPos() instead of MoveWindow() if possible; always use WS_CLIPCHILDREN; never use WS_CLIPSIBLINGS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 22:08:47 +00:00
Vadim Zeitlin
cf8ff92f83
moved wxWindow::m_hMenu to wxFrame, it is not needed in the base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:56:38 +00:00
Vadim Zeitlin
d1a47dfe23
fixed background appearance for the controls with changed foreground colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:15:43 +00:00
Vadim Zeitlin
47e388caa6
accept focus in radiobox again (broken by making it derive from static box which doesn't accept it)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:41:47 +00:00
Włodzimierz Skiba
e951b8e4e6
Move unused values into 2.4 compatibility. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 12:22:51 +00:00
Vadim Zeitlin
7344726a7a
undef CreateWindow too, even if we don't use it ourselves it's still a very common name and shouldn't be defined after including wxWindows headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 21:30:39 +00:00
Vadim Zeitlin
bdd1a35ddc
(blind) wxUniv compilation fix: define the method using wxWindow out of line, i.e. after wxWindow is defined
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:42:35 +00:00
Vadim Zeitlin
7249080588
added WX_FORWARD_STD_METHODS_TO_SUBWINDOWS macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:02:32 +00:00
Vadim Zeitlin
bd0a76e228
1. derived wxMSW radio box from static box because it includes the box anyhow
...
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
MSW nor GTK (this is the only change in GTK code)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Vadim Zeitlin
b04093c949
use solid bacgkround for static box as pattern brush can't be properly aligned when it is painted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:12:37 +00:00
Vadim Zeitlin
c4a95f6f99
implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background to children
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:11:14 +00:00
Vadim Zeitlin
c5bd3c6268
rewrote and virtualized the background erasing logic: each window may now
...
specify which background brush should be used for its children and each child
may also choose to use either background brush or (solid) background colour
wxWindow::OnEraseBackground() and wxControl::MSWControlColor() now use the
same code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:09:54 +00:00
Vadim Zeitlin
042ce4ccba
forward Enable() and SetFont() to the labels as well
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:51:11 +00:00
Vadim Zeitlin
052da7d572
added a few more composite functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:43:45 +00:00
Vadim Zeitlin
7af99268d4
override MSWGetDefaultBgBrush() to use transparent brush
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:47:01 +00:00
Vadim Zeitlin
d34e375c9c
added MSWGetDefaultBgBrush() to allow some derived classes to use transparent brush for erasing background
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:44:52 +00:00
Vadim Zeitlin
e96ec686d8
never return NULL_BRUSH from WM_CTLCOLOR handler, it doesn't do much for most controls and breaks background erase for a few (slider, static text, static bitmap, ...)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 00:06:43 +00:00
Vadim Zeitlin
6181cef532
use MSWAlwaysDrawBg() to fix the problem with black background; rewrote/cleaned up the positioning and window creation code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:41 +00:00
Vadim Zeitlin
19fdd4efb6
helper class for implementing composite controls under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:27 +00:00
Vadim Zeitlin
c5c4c31e6c
added MSWAlwaysDrawBg() to account for controls such as sliders which must not draw background with transparent brush no matter what
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:34:15 +00:00
Vadim Zeitlin
9688700c97
added wxRectFromRECT()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:32:20 +00:00
Vadim Zeitlin
a21d4ad106
really implemented operator==(); reformatted a little
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 11:23:16 +00:00
Włodzimierz Skiba
de4b00500f
Back to broken comparison until it is not fixed other way.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 07:28:25 +00:00
Julian Smart
150e31d208
Added further 'missing' wxTextCtrl-like functions to wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Włodzimierz Skiba
917be7ed06
wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platforms. wxColourMap definition centralized and 2.4 only. Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:43:18 +00:00
Włodzimierz Skiba
767e3be0fa
Fix to FIXME: better nothing than broken comparison.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:17:37 +00:00
Włodzimierz Skiba
c5789d1526
Use Get*Box instead Get*Region if you are asking about position and size. And it is enough to have it in base class only.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 15:48:50 +00:00
Włodzimierz Skiba
cb9d5bd07e
wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Włodzimierz Skiba
ab9d0a8ca3
IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Vadim Zeitlin
2c62dd25cd
changed the code to be really sure that exactly one update event is sent when SetValue() is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 14:43:54 +00:00
Włodzimierz Skiba
0e871ad039
Fixes for wxUSE_SPIN... == 0.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 20:08:56 +00:00
Vadim Zeitlin
b01a88e050
don't show the status bar after restoring normal view after full screen if it had been hidden all along (bug 1071354); code cleanup: removed unused variables, reduced #ifdefs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:53:34 +00:00
Julian Smart
706fb8932a
Changed Rocketeer licence to wxWindows licence, by authorisation
...
of the copyright holder, Johnny C. Norris II
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:55:34 +00:00
Robert Roebling
08680429a2
Made wxPageSetupDialog a pimpl implementation.
...
Added a few clean-ups.
Added native GNOME page setup dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:46:25 +00:00
Vadim Zeitlin
1a38c220e1
last commit broke compilation for wxUSE_UXTHEME == 0; fixing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 21:52:18 +00:00
Vadim Zeitlin
9b7d2b81cc
added another DoEraseBackground overload (no real changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:50:25 +00:00
Vadim Zeitlin
012e1eebae
always return solid background for listbox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:36:23 +00:00
Vadim Zeitlin
a8da30af84
added MSWControlColorDisabled and MSWControlColorSolid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:35:41 +00:00
Vadim Zeitlin
18342f1993
don't set background colour explicitely; no need to handle WM_ERASEBKGND ourselves now that it is done correctly at wxControl level
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:55:34 +00:00
Vadim Zeitlin
5c836c463a
refactored code to do brush adjustment for bg drawing in only one place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:53:03 +00:00
Vadim Zeitlin
48fa6bd38a
replaced OnCtlColor(7 params) with MSWControlColor(1 param)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:40:31 +00:00
Vadim Zeitlin
9ae8168e5b
removed OnCtlColor()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:05:12 +00:00
Vadim Zeitlin
01c500af65
removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implemented it to use tab control background if applicable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:37:42 +00:00
Vadim Zeitlin
caf95d2aef
added support for drawing themed background: DoEraseBackground() and GetThemeBackgroundBrush()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:36:45 +00:00
Vadim Zeitlin
8a462d4ee1
added GetIfActive() method returning non-NULL engine only if themes are not only available, but really use
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 17:17:00 +00:00
Vadim Zeitlin
978bb48f35
added CompatibleBitmap wrapper class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 16:47:51 +00:00
Ryan Norton
3f5ca6b1c3
part of patch [ 649438 ] Bug fixes from Netscape/AOL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:46:34 +00:00
Vadim Zeitlin
38c58c778d
don't erase background in wxControl neither
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 23:20:10 +00:00
Włodzimierz Skiba
599132d33a
eVC3 media fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:51:16 +00:00
Vadim Zeitlin
bcb251a0c1
small optimization for wxTextCtrl (forgot to commit with textctrl.cpp)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:06:02 +00:00
Vadim Zeitlin
8681b0940e
restored OnEraseBackground(), we do need it but only for the cases when the window has a non default background colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:10:48 +00:00
Vadim Zeitlin
e2c49e5cd2
don't always erase the background ourselves as this is incompatible with XP themed appearance (replaces patch 1046164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 14:43:51 +00:00
Ryan Norton
ff4aedc554
Massive reworking of wxMediaCtrl code - backend everything, search for backends via RTTI lookup, and more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-14 23:26:55 +00:00
Włodzimierz Skiba
a418b1f3a2
Fix hiding wxMediaEvent::Clone().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 10:13:04 +00:00
Ron Lee
72259e0063
wxUSE_POSTSCRIPT is not a sufficient test by itself for
...
wxPostScriptPrintNative data. This is probably still not
100% correct but at least msw builds again for mingw now.
Fixed bogus eof (and removed junk whitespace) from mediactl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 06:52:19 +00:00
Vadim Zeitlin
81152407d0
removed 2.0 compatibility stuff (patch 1054261)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 18:59:51 +00:00
Ryan Norton
8bf57c4f2e
turn off directshow by default for lib dependancy
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 15:26:04 +00:00
Ryan Norton
c8a50408fb
setp.h changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 05:58:40 +00:00
Ryan Norton
1a680109ac
base wxMediaCtrl files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-11 05:21:02 +00:00
Włodzimierz Skiba
2549081bd9
Patch #1053364 - combobox shoult not remember position after clearing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 19:17:40 +00:00
Ryan Norton
8c98569888
*** empty log message ***
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-08 05:17:32 +00:00
Ryan Norton
16cfbafc6a
some setup.h changes for wxMovieCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 15:47:57 +00:00
Ryan Norton
52f2f7b2c1
fix for [ 1052989 ] TextCtrl.SetBackgroundColour(wx.NullColour) bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 14:14:10 +00:00
Ryan Norton
3a774635dc
allow multiple movie loading as per Julian's suggestion. DOC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 12:22:11 +00:00
Ryan Norton
0568fd59ca
add Length, Tell, SetPlaybackRate and GetPlaybackRate - use Connect instead of message maps - on MSW don't assert if the file has no video and only sound - add event for when the movie finishes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 10:56:06 +00:00
Ryan Norton
4ad7af2b83
wxMovieCtrl - for playing movies - mac carbon QT 3 MSW-compatable implementation and MSW DirectX7 directshow implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 08:27:51 +00:00
Ryan Norton
24d2b4f5ba
fix for [ 1020924 ] wx.Display.IsPrimary is wrong
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-07 00:48:37 +00:00
Václav Slavík
a78955e377
made it possible to customize wxGenericDirCtrl, such as using checked wxTreeCtrl (patch #1019699 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-03 23:01:57 +00:00
Julian Smart
23fba6860a
Added missing functions and variable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-01 15:55:14 +00:00
Robert Roebling
93c2f401e9
Moved print dialog data conversion code
...
from cmndata to its msw place.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 16:34:02 +00:00
Vadim Zeitlin
b67c2b8794
use slashes instead of backslashes and quotes instead of angle brackets in all #includes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 15:14:46 +00:00
Vadim Zeitlin
ce336c6d76
moved AppendAppName() from MSW to common code; modified it to not double the trailing slash, if any
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-20 00:34:32 +00:00
Vadim Zeitlin
40e8ee374f
initial implementation for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:50:06 +00:00
Vadim Zeitlin
6bb0970672
extracted LPITEMIDLIST wrappers in a separate header (also [will be] used by wxStdnardPaths)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 16:43:53 +00:00
Robert Roebling
fd64de596c
Renamed wxPrintNativeData methods to better match
...
those of the preexisting wxMac class. This should
make transition of the wxMac classes to the new
wxPrintNativeData classes easier.
Renamed wxWindowsPrintNativeData to a proper name
that is less confusing (GetNativeData -> GetDevMode).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:00:41 +00:00
Robert Roebling
8850cbd3c3
First step at moving the print (dialog) native
...
data into native dirs and cleaning up the code.
The native part of wxPrintData is now created
via the wxPrintFactory. I moved the code for
PostScript to /src/generic/prntdlgg. and for
MSW to its the respective dir. I only made
wxMac compile, but it already has a native
print data class, which should be easy to
merge.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 17:25:40 +00:00
Robert Roebling
c061373dc5
Began work on print dialogs. Now wxPrintDialog
...
is a pimpl implementation of the native
dialog classes, which are created in wxPrintFactory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 22:11:48 +00:00
Vadim Zeitlin
7a295dfa5c
fixed enhanced metafiles loading from files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-16 13:31:27 +00:00
Włodzimierz Skiba
6fb99eb3b7
Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-13 14:04:19 +00:00
Włodzimierz Skiba
42841dfcad
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-11 16:30:43 +00:00
Włodzimierz Skiba
373a5fb355
Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-07 13:36:41 +00:00
Vadim Zeitlin
a6fd0fde4c
update the disabled buttons appearance when system colours change (followup to patch 1027243)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:46:11 +00:00
Vadim Zeitlin
57e075e99a
removed trailing comma from enum (gcc 3.4 compilation fix)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 16:12:15 +00:00
Vadim Zeitlin
aba3d35e7b
don't deprecate SetItemImage() with 3 parameters; just add a default value for the last one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 22:27:45 +00:00
Julian Smart
c3627a004d
Deprecated SetItemImage with 2 image ids
...
Deprecated _GET_INFO, _SET_INFO list control events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:12:23 +00:00
Václav Slavík
2596e9fb2c
fixed flicker during MDI children creation: the frame is now created hidden and shown in idle time to maintain backward compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:07:48 +00:00
Vadim Zeitlin
81ce36aa59
more 64 bit correctness fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:25:47 +00:00
Włodzimierz Skiba
9b1414681c
Hardware defines spec.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 08:03:26 +00:00
Vadim Zeitlin
b41f29c357
suppress VC7.1 64 bit correctness warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:16:57 +00:00
Julian Smart
08c6324095
__WINCE__ -> __WXWINCE__
...
Added missing O_... symbols
Incremented the version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 07:45:37 +00:00
Robert Roebling
e11898f903
Compile fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 13:06:30 +00:00
Vadim Zeitlin
df455719ff
keep the old wxFont::Create() signature (changed by font size in pixels patch) to fix XTI and to preserve backwards compatibility
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 11:02:11 +00:00
Vadim Zeitlin
77d8d6cd64
added wxGetFullModuleName(); use it instead of calling ::GetModuleFileName() directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 10:58:32 +00:00
Dimitri Schoolwerth
95ae6d5fc9
doc-typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 10:55:56 +00:00
Václav Slavík
7eb872f4d6
partially reverted Robert's changes, did it more cleanly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29426 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 23:08:01 +00:00
Robert Roebling
b057f88ab8
Trying hard to make things compile.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 18:13:18 +00:00
Ron Lee
88899f6b03
wxSize needs to be fully defined if we want to use it inline here.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-26 11:47:30 +00:00
Vadim Zeitlin
544229d106
added a way to create fonts with specified pixel size
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 23:03:44 +00:00
Vadim Zeitlin
6294ac2e91
support for huge files (patch 1002226)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-25 22:44:19 +00:00
Ryan Norton
84fe931ddf
Port syncronization, more wxUSE_XML/XRC fixes and typo fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 08:58:52 +00:00
Ryan Norton
9581c3c6dc
more setup0.h wxUSE_XRC fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 08:31:04 +00:00
Ryan Norton
f33cb209bf
MSW XRC define setuup.h handling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-24 08:20:57 +00:00
Vadim Zeitlin
a6c255cbc0
added missing header to fix !USE_PCH compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-19 10:08:24 +00:00
Chris Elliott
1a838ff58b
fix compile break for unknown FLASHWINFO
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 14:16:37 +00:00
Vadim Zeitlin
0a7fd06a09
removed unneeded (after patch 1027243) disable.bmp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:36:59 +00:00
Vadim Zeitlin
d50dbf7c6a
construct brush used for painting disabled bitmap buttons dynamically (heavily modified patch 1027243)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-18 12:34:45 +00:00
Vadim Zeitlin
4dddb8a2dd
fixed gcc warnings about not calling base class ctor explicitly in copy ctors (patch 1028986)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 22:36:12 +00:00
Włodzimierz Skiba
f5e0b4bc7c
wxChoicebook generic implementation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-16 11:29:15 +00:00
Vadim Zeitlin
13bcc34881
fixed sending duplicate EVT_COMBOBOX events; documented that GetValue() returns new value when called from EVT_COMBOBOX handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-15 23:07:15 +00:00
Vadim Zeitlin
13fc164d3f
file with DoMessage() declaration (which I forgot to commit ages ago)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-13 09:16:39 +00:00
Vadim Zeitlin
ed4780ea6e
added As/DissociateHandle() and implemented it for MSW (modified patch 972356)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 22:17:22 +00:00
Vadim Zeitlin
9d769508fb
fixed CopyFromBitmap() for shared wxIcon objects by adding CloneRefData() implementation (patch 1026453)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 20:26:44 +00:00
Vadim Zeitlin
0a7b481fee
BC++ 5.5 and later supports wxUSE_ON_FATAL_EXCEPTION
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-11 19:21:43 +00:00
Włodzimierz Skiba
39fc096d5a
Fixes and source cleaning for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 06:41:06 +00:00
Włodzimierz Skiba
302e251b4d
Native Smartphone wxTextCtrl.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-08 06:20:42 +00:00
Vadim Zeitlin
dc92adaf0c
added wxTopLevelWindow::RequestUserAttention(); documented it and implemented it for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-07 21:02:55 +00:00
Włodzimierz Skiba
27d2dbbcca
Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, !!/!IsEmpty(), TRUE/true. FALSE/false, tabs, whitespaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-07 11:11:05 +00:00
Włodzimierz Skiba
bfbb0b4c77
Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, TRUE/true. FALSE/false, tabs, whitespaces.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-07 06:01:01 +00:00
Włodzimierz Skiba
57f4f9255e
Source cleaning: whitespaces, tabs, ::, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-04 01:53:42 +00:00
Włodzimierz Skiba
4d08943ee4
Source cleaning: -1/wxID_ANY/wxDefaultCoord, !!/!IsEmpty(), TRUE/true, FALSE/false, whitespaces, tabs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-03 18:32:56 +00:00
Chris Elliott
6aca462878
mdi menu updates fixed (after SF 1012653)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-01 09:16:21 +00:00
Włodzimierz Skiba
078cf5cb75
Source cleaning: -1/wxID_ANY/wxNOT_FOUND, ::, TRUE/true, FALSE/false, whitespaces, tabs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-31 12:38:46 +00:00
Václav Slavík
5f7bcb48fd
new stock buttons API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 14:42:51 +00:00
Włodzimierz Skiba
598ddd96f4
Source cleaning: -1/wxID_ANY/wxDefaultCoord, ::, !!, TRUE/true, FALSE/false, whitespaces, tabs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-30 10:18:55 +00:00
Włodzimierz Skiba
59af881e44
Source cleaning: whitespaces, tabs, -1/wxNOT_FOUND, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-27 18:59:37 +00:00
Włodzimierz Skiba
213ceb3f0e
Source cleaning: whitespaces & tabs, ::, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-26 08:46:18 +00:00
Robin Dunn
2679196c7e
Some of these are not in BASE, cahnge back to WXDLLEXPORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-26 04:58:43 +00:00
Włodzimierz Skiba
cbe874bd32
Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, ::.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-25 12:17:55 +00:00
Václav Slavík
2ee1f31f80
WXDLLEXPORT fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 21:15:18 +00:00
Włodzimierz Skiba
d71cc120e3
Code cleaning: whitespaces, -1/wxID_ANY/wxDefaultCoord, TRUE/true, FALSE/false, !!/!NotEmpty().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-24 10:31:41 +00:00
Włodzimierz Skiba
1550d5f80d
Native SmartPhone wxChoice implementation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-23 10:53:57 +00:00
Włodzimierz Skiba
02b7b6b072
Source cleaning: whitespaces, -1/wxDefaultCoord, TRUE/true, FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 12:03:08 +00:00
Włodzimierz Skiba
fcf90ee1b1
Source cleaning: whitespaces,-1/wxID_ANY,TRUE/true,FALSE/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-19 17:39:28 +00:00
Włodzimierz Skiba
77c46f00b5
Source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 09:22:14 +00:00
Włodzimierz Skiba
0a0e6a5baf
TRUE/true, FALSE/false, whitespace cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:45:46 +00:00
Václav Slavík
401e3b6e5f
added stock buttons support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:56:56 +00:00
Vadim Zeitlin
0f0b19d646
use wxDD_DEFAULT_STYLE instead of 0 by default for style parameter of wxDirDialog ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-13 23:56:57 +00:00
Włodzimierz Skiba
8e254d94e2
wxUSE_GENERIC_DIALOGS_IN_MSW removed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 07:44:37 +00:00
David Elliott
948c96efa1
Use bool instead of int. Replace TRUE/FALSE with true/false.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 05:30:36 +00:00
David Elliott
d6d6a882d4
Get rid of inline C compatibility methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 22:30:51 +00:00
David Elliott
e27c99c750
Get rid of wxUSE_GSOCKET_CPLUSPLUS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 20:56:47 +00:00
Dimitri Schoolwerth
c21af6e525
made code slightly more readable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 16:28:20 +00:00
Dimitri Schoolwerth
16abe93eb4
fixed MSVC6 compiler warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 13:23:35 +00:00
Włodzimierz Skiba
4bf45c9eca
Peparation for native Smartphone controls based on Spinners.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 16:52:13 +00:00
Włodzimierz Skiba
dcbbda5451
Smartphone fix due to separated implementation of wxFileDialog.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 06:58:37 +00:00
David Elliott
a45068485c
* Made GSocket::GetError() exp/imp from net library and provide an inline
...
compatibility function.
* Provide a Null gs_gui_functions implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 04:14:42 +00:00
David Elliott
4b4d23c77e
Prepare headers for C->C++ migration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 03:33:36 +00:00
Vadim Zeitlin
3754265e32
switched to wxEventLoopBase/wxEventLoop implementation (instead of m_impl based one) for wxMSW; minimal changes for the other ports
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:54:31 +00:00
David Elliott
79099b80ad
wxWindowMSW::OnInitDialog is only implemented for WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 19:34:19 +00:00
Julian Smart
d26e1ab206
Worked around static box opaqueness problem on WinCE by setting the
...
z-order in OnInitDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:34:25 +00:00
Włodzimierz Skiba
41b8fe99b4
Missing DMC OFN_* values.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 18:04:01 +00:00
Vadim Zeitlin
f7aa747716
removed _GSocket::m_oriented
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:33:54 +00:00
Vadim Zeitlin
74c481d117
replaced my recent GSocket_SetReuseAddr() addition with GSocket_SetReusable() from the patch 992473; it also adds and documents wxSOCKET_REUSEADDR flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:06:01 +00:00
Vadim Zeitlin
0b11099dd6
implemented moving the dialog (patch 996448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:56:00 +00:00
Vadim Zeitlin
0afb585238
don't define _CRTDBG_MAP_ALLOC as it is apparently unnecessary (patch 995135)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:47:33 +00:00
Vadim Zeitlin
282d1e47f9
dc.h shouldn't include itself (patch 992933)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:39:07 +00:00
Vadim Zeitlin
db4c39a9e8
fixed header include guard position (patch 992443)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:36:51 +00:00
Vadim Zeitlin
c2919ab326
added status bar fields styles support (patch 988292)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:13:52 +00:00
Vadim Zeitlin
a494b2bc2c
added IsFrozen() (part of patch 925808)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:30:08 +00:00
Vadim Zeitlin
3b830ce00d
unhide the other HitTest() overload
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:52:22 +00:00
Vadim Zeitlin
7ff64980aa
don't modify all wxBitmaps sharing the same wxBitmapRefData when SetMask() is called
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:52:18 +00:00
Vadim Zeitlin
6726a6b097
implement HitTest(pos) variant and not HitTest(x, y) one as this is what Windows gives us
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:32 +00:00
Włodzimierz Skiba
42bbdbff31
wxUSE_BUTTONBAR removed.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 09:21:07 +00:00
Vadim Zeitlin
dd779a9e66
added wxDIB(HBITMAP) ctor and corresponding Create(); made GetData() return uchar * and not void *
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:43:57 +00:00
Vadim Zeitlin
45515b6685
don't suppose that all 32bpp DIBs have alpha, this is not true, the extra byte may be just padding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:45:28 +00:00
Roger Gammans
9b386ecadb
* add documentation for wxMemoryBuffer
...
* add suport for values of type REG_BINARY in the msw registry.
Such values are converted to wxMemoryBuffer for internal handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:09:52 +00:00
Václav Slavík
446e5259d7
DLL export fixes (patch 991760)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 20:51:44 +00:00
Dimitri Schoolwerth
04e539f5d1
use slashes in #include, not backslashes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 13:53:48 +00:00
Vadim Zeitlin
2ff56383e6
added WindowHDC similar to Screen/MemoryHDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:44:11 +00:00
Dimitri Schoolwerth
fdd74b41b0
fixed include dependency
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 15:09:06 +00:00
Václav Slavík
7a5e53abb3
fixed warnings after GetFont prototype change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 14:25:47 +00:00
Vadim Zeitlin
12b58624e9
fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:20:27 +00:00
Vadim Zeitlin
956495caff
moved wxEntry(HINSTANCE, ...) declaration to wx/msw/app.h from wx/app.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 11:07:23 +00:00
Vadim Zeitlin
dcc19b5b38
fixed wxEntry() signature
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 09:58:37 +00:00
Robin Dunn
c0e6c05138
reverted m_adjustMinSize change prepatory for a new approach to fix
...
the problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Václav Slavík
9d701f0ebf
reverted previous revision, old clipboard API is still used by wxMSW itself
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:13:18 +00:00
Václav Slavík
831dd3a1e8
don't export deprecated interface to clipboard from DLL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:58:52 +00:00
Václav Slavík
2af18715e5
wxClipboard changes compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:54:35 +00:00
Robin Dunn
fe161a2685
Controls will readjust their size and minsize when SetLabel or SetFont
...
are called. Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality. Made SetBestSize public under the
SetBestFittingSize name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Václav Slavík
62a9d04c7d
WXDLLEXPORT correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:02:29 +00:00
Włodzimierz Skiba
fb8a56b77c
Smartphone menus.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:37:55 +00:00
Włodzimierz Skiba
f428e6c50f
Warning fixes for WinCE.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:24:42 +00:00
Włodzimierz Skiba
e0b97560ed
Smartphone specific resource files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:17:27 +00:00
Robin Dunn
6d50c6a702
Add DoGetBestSize to wxCheckListBox that adds room for the checkbox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:23:05 +00:00
Dimitri Schoolwerth
dabbc6a5a1
removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Robert Roebling
b3900fb51a
Added master define for CommandBar vs. PocketPC mixed bar.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 22:58:28 +00:00
Robert Roebling
dcaf7c6e3b
Compile fix for HANDHELDPC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:14:20 +00:00
Vadim Zeitlin
329eeca9c4
fixed assert in SetItemText() for wxTR_MULTIPLE controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 11:29:49 +00:00
Vadim Zeitlin
329ac7daeb
explicit this-> is required by C++ standard, not g++, in WinStruct template
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 22:01:54 +00:00
Václav Slavík
01ac0f138b
don't define _puttchar ourselves when using newest mingw runtime
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 21:39:35 +00:00
Václav Slavík
6466d41e94
corrected EVT_TASKBAR_XXX macros to use wxTaskBarIconEvent
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-05 14:19:35 +00:00
Václav Slavík
85f6b408df
split wxRegion(wxBitmap) ctor into two ctors with clearer semantics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-03 21:13:52 +00:00
Václav Slavík
a7d174bf49
compilation fix for gcc-3.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-31 21:50:16 +00:00
Robin Dunn
6c7afb7435
GetClientAreaOrigin should be public
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-28 19:15:09 +00:00
Julian Smart
a9928e9d1a
WinCE Standard SDK improvements including adding close button
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-27 11:31:12 +00:00