Toolbars shouldn't have themed borders

Made it easier to switch off theme borders in wxWindow if necessary


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2007-08-09 15:05:56 +00:00
parent e09200046e
commit 4c0d2cd3d0
4 changed files with 16 additions and 5 deletions

View File

@@ -71,6 +71,9 @@ public:
// default style for the control include WS_TABSTOP if it AcceptsFocus()
virtual WXDWORD MSWGetStyle(long style, WXDWORD *exstyle) const;
// choose the default border for this window
virtual wxBorder GetDefaultBorder() const;
protected:
// return default best size (doesn't really make any sense, override this)
virtual wxSize DoGetBestSize() const;