Add EnableCloseButton() as wxMSW does. Use it in

wxProgressDialog so that without wxPD_CAN_ABORT
    you cannot close the dialog.
  Closes [ 1585563 ] wxProgressDialog @ GTK CloseButton


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2006-10-27 08:18:26 +00:00
parent 58211774c8
commit 0d635035cc
2 changed files with 14 additions and 1 deletions

View File

@@ -51,6 +51,8 @@ public:
virtual void SetIcons(const wxIconBundle& icons);
virtual void Restore();
virtual bool EnableCloseButton(bool enable = true);
virtual bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
virtual bool IsFullScreen() const { return m_fsIsShowing; };