Expose APIs that can update the behavior of wxThumbBarButton.

- void Enable(bool enable = true);
  void Disable();
- void EnableDismissOnClick(bool enable = true);
  void DisableDimissOnClick();
- void SetHasBackground(bool has = true);
- void Show(bool shown = true);
  void Hide();
- void EnableInteractive(bool interactive = true);
  void DisableInteractive();

Author: Chaobin Zhang

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

View File

@@ -41,6 +41,8 @@ public:
private:
friend class wxFrame;
friend class wxThumbBarButton;
wxTaskBarButtonImpl(WXWidget parent);
bool InitOrUpdateThumbBarButtons();