return TRUE;
}
- const bool isVertical = HasFlag(wxTB_VERTICAL);
-
#if 0
// delete all old buttons, if any
for ( size_t pos = 0; pos < m_nButtons; pos++ )
wxLogDebug(wxT("TB_DELETEBUTTON failed"));
}
}
-#endif
+#endif // 0
// add the buttons and separators
// ------------------------------
delete [] buttons;
#if 0
+
+ const bool isVertical = HasFlag(wxTB_VERTICAL);
+
// Deal with the controls finally
// ------------------------------
SetRows(m_nButtons);
}
}
-#endif
+#endif // 0
- return TRUE;
+ return true;
}
// ----------------------------------------------------------------------------