Allow 2-phase creation of wxThumbBarButton.

Author: Chaobin Zhang

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bryan Petty
2014-09-10 14:52:23 +00:00
parent 3e1130bf57
commit 183b0f4664
5 changed files with 57 additions and 8 deletions

View File

@@ -32,6 +32,10 @@ enum WXDLLIMPEXP_CORE wxTaskBarButtonState
*/
class WXDLLIMPEXP_CORE wxThumbBarButton {
public:
/**
Default constructor to allow 2-phase creation.
*/
wxThumbBarButton();
/**
Constructs the thumbnail toolbar button.
@@ -68,6 +72,15 @@ public:
bool shown = true,
bool interactive = true);
bool Create(int id,
const wxIcon& icon,
const wxString& tooltip = wxString(),
bool enable = true,
bool dismissOnClick = false,
bool hasBackground = true,
bool shown = true,
bool interactive = true);
virtual ~wxThumbBarButton();
/**