Remove unnecessary TranslateBookFlag() from the notebook sample.

It probably was needed before, when the flags had different values for
different controls, but is simply unused now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2012-08-30 20:21:06 +00:00
parent 3ebf38b3b4
commit 9ed3454e3d
2 changed files with 0 additions and 10 deletions

View File

@ -503,15 +503,6 @@ MyFrame::~MyFrame()
wxFAIL_MSG( wxT("unknown book control type") ); \
}
int MyFrame::TranslateBookFlag(int nb, int lb, int chb, int tbk, int toolbk, int aui) const
{
int flag = 0;
DISPATCH_ON_TYPE(flag =, nb, lb, chb, tbk, toolbk, aui, + 0);
return flag;
}
void MyFrame::RecreateBook()
{
int flags;

View File

@ -97,7 +97,6 @@ private:
void RecreateBook();
wxPanel *CreateNewPage() const;
int TranslateBookFlag(int nb, int lb, int chb, int tbk, int toolbkm, int aui) const;
void AddFlagStrIfFlagPresent(wxString & flagStr, long flags, long flag, const wxChar * flagName) const;
// Sample setup