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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user