Add new api for appending a separator to the thumbnail toolbar.
Actually, when calling AppendSeparator we are appending a disable ThumbBarButton without background, which can simulate the behavior of appending a separator. Author: Chaobin Zhang git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,6 +35,7 @@ public:
|
||||
virtual bool InsertThumbBarButton(size_t pos,
|
||||
wxThumbBarButton *button) wxOVERRIDE;
|
||||
virtual bool AppendThumbBarButton(wxThumbBarButton *button) wxOVERRIDE;
|
||||
virtual bool AppendSeparatorInThumbBar() wxOVERRIDE;
|
||||
virtual wxThumbBarButton* RemoveThumbBarButton(
|
||||
wxThumbBarButton *button) wxOVERRIDE;
|
||||
virtual wxThumbBarButton* RemoveThumbBarButton(int id) wxOVERRIDE;
|
||||
|
Reference in New Issue
Block a user