Layout fixes due to measuring with the wrong font. Also added

GetDefaultAttributes and switched everything to use GetXXX instead of
m_XXX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-06-30 21:49:17 +00:00
parent 6d450e1a20
commit ab473127c6
2 changed files with 29 additions and 30 deletions

View File

@@ -162,6 +162,12 @@ public:
virtual bool Enable(bool enable = true);
virtual bool Show(bool show = true);
virtual wxVisualAttributes GetDefaultAttributes() const
{ return GetClassDefaultAttributes(GetWindowVariant()); }
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
private:
// common part of all ctors
void Init();