removed the weird m_style which was never initialized GTK and duplicated m_windowStyle under Mac/MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-10-15 22:45:23 +00:00
parent de0bc93298
commit f4992e37c0
4 changed files with 2 additions and 13 deletions

View File

@@ -99,19 +99,14 @@ public:
DoSet3StateValue(state);
}
bool Is3State() const
{
return (m_style & wxCHK_3STATE) != 0;
}
bool Is3State() const { return HasFlag(wxCHK_3STATE); }
bool Is3rdStateAllowedForUser() const
{
return (m_style & wxCHK_ALLOW_3RD_STATE_FOR_USER) != 0;
return HasFlag(wxCHK_ALLOW_3RD_STATE_FOR_USER);
}
protected:
int m_style;
virtual void DoSet3StateValue(wxCheckBoxState WXUNUSED(state)) { wxFAIL; }
virtual wxCheckBoxState DoGet3StateValue() const