Julian Smart
dc797d8e1b
More border rationalisation. GetDefaultBorder is now mostly defined in base class files.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 12:10:34 +00:00
Julian Smart
a047aff270
Added wxBORDER_THEME, wxWindow::GetDefaultBorderForControl(), wxWindow::CanApplyThemeBorder().
...
wxTextCtrl and wxSearchCtrl now get the correct border on wxMSW, and the wxRichTextCtrl sample
also now demonstrates correct borders.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-07 19:22:43 +00:00
Vadim Zeitlin
6f02a879ed
make access specifiers for the virtual functions match their access in the base class (patch 1400131)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-08 21:47:09 +00:00
Mart Raudsepp
8907154c1a
Nuke #pragma implementation/interface's
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-23 12:56:45 +00:00
Robert Roebling
9527eca5de
Make PaintBackground virtual, too. Now that we have
...
broken bin comp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-21 07:05:02 +00:00
Julian Smart
21c6080db7
Regenerated makefiles for runtime lib change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 12:58:24 +00:00
Włodzimierz Skiba
a5de8d419f
Misplaced #endif (WinCE build fix).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 08:08:36 +00:00
Vadim Zeitlin
c3732409ac
simplifications and corrections to background drawing:
...
1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
!HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl
results:
1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 15:23:08 +00:00
Julian Smart
9f76970889
Default border for a static box is wxBORDER_NONE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:30:04 +00:00
Vadim Zeitlin
3b6e5fb3f5
fixes to static box borders calculations and significant code cleanup (finalizes patch 1166587)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:17:51 +00:00
Julian Smart
2f059e30a1
Fixed MSWClipBoxRegion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 15:19:14 +00:00
Julian Smart
eba99da4c0
Applied patch [ 1166587 ] [wxMSW] Removes all flicker from wxStaticBox
...
By Jamie Gadd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:30:06 +00:00
Vadim Zeitlin
58385af016
fix top margin for static box sizer when wxDIALOG_UNIT_COMPATIBILITY == 0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 23:41:07 +00:00
Julian Smart
6aa0103384
Restored mouse sensitivity for static box and static bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 08:26:50 +00:00
Vadim Zeitlin
8008807eb1
we don't need to use solid colour for background drawing when we're inside notebook any longer, so no need to override MSWGetBgBrushForSelf()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:50:59 +00:00
Vadim Zeitlin
e31e6ea75d
moved styles logic to MSWGetStyle() (no real changes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 17:10:34 +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
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
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
Julian Smart
655719367a
Use old licence name
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 20:53:33 +00:00
Julian Smart
77ffb5937e
Name and version changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-23 14:56:36 +00:00
Julian Smart
c140b7e7c9
Applied patch [ 903619 ] Win64 and Itanium support
...
by Brian Palmer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-25 10:45:02 +00:00
Václav Slavík
1202890513
added support for gcc precompiled headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-08-09 12:38:21 +00:00
Vadim Zeitlin
fc7a2a602b
undisable many warnings for VC++ in defs.h and fixed several thousands of them in the sources
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-07-22 00:24:07 +00:00
Vadim Zeitlin
1e6feb95a7
first pass of wxUniv merge - nothing works, most parts don't even compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-06-26 20:59:19 +00:00
Vadim Zeitlin
f048e32fcd
1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
...
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Vadim Zeitlin
f68586e51b
wxWindow::GetBestSize() added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00
Vadim Zeitlin
222594ead7
1. fixed wxStaticBox background erasing (or, rather, restored the old bug)
...
2. fixed the mask code in wxBitmap(const wxIcon&) - now it really works (Win32)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 01:19:46 +00:00
Vadim Zeitlin
c49245f8ba
1. added wxGetNumberFromUser (to textdlgg.cpp and dialogs sample)
...
2. wxTE_RICH style added to wxMSW, the text controls don't use RICHEDIT
class by default any more
3. wxRadioBox doesn't generate button events any more (grrr...)
4. commented out code in log.cpp restored and a bug corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-22 23:39:47 +00:00
Vadim Zeitlin
4438caf41a
1. DoSetSize() simplified, DoGetBestSize() introduced
...
2. code cleanup here and there
3. attempts to make static boxes behave better (i.e. stay below other controls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-07-02 22:02:05 +00:00
Ove Kaaven
32c1cda244
A few Unicode fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-06-10 18:12:13 +00:00
Vadim Zeitlin
42e69d6b43
1. wxMSW seems to work (please test and send your bug reports!)
...
2. accelerators in the menus a la GTK (actually slightly better) implemented
3. wxSplitter now uses events (and so the code which was broken by recent changes
works again)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-05-19 00:53:27 +00:00
Vadim Zeitlin
bfc6fde4b1
GetSize() and GetClientSize() changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-02-22 11:01:13 +00:00
Vadim Zeitlin
06b5713445
wxStaticBitmap, wxStaticBox and wxPanel don't accept keyboard focus now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-01-31 23:30:33 +00:00
Julian Smart
4fabb57533
wxSize/wxPoint/wxRect versions of functions added to wxMSW, wxMotif;
...
wxScrollBar::Set/GetPosition changed to Set/GetThumbPosition to avoid clash;
various other portability changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-11-28 13:38:40 +00:00
Julian Smart
bbcdf8bc7c
Fixed various wxMSW compile problems that came down the telephone line...
...
plus wxTreeCtrl::EditLabel/EndEditLabel, dialog editor stuff, wxMSW header changes,
doc changes. Sorry about the quantity :-(
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-08-07 23:52:45 +00:00
Julian Smart
debe6624c1
Sorry, I went and removed consts as per the style guide :-)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-07-04 15:17:59 +00:00
Karsten Ballüder
2bda0e1738
added some wxMSW stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1998-05-20 14:12:05 +00:00