Added default parameter to EnableCloseButton().
Previously the default parameter was only available in wxMSW and wxGTK. Added it to the base class as well to allow EnableCloseButton() calls without a parameter under other platforms too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6451d23158
commit
546a948206
@ -205,7 +205,7 @@ public:
|
||||
virtual wxString GetTitle() const = 0;
|
||||
|
||||
// enable/disable close button [x]
|
||||
virtual bool EnableCloseButton(bool WXUNUSED(enable) ) { return false; }
|
||||
virtual bool EnableCloseButton(bool WXUNUSED(enable) = true) { return false; }
|
||||
|
||||
// Attracts the users attention to this window if the application is
|
||||
// inactive (should be called when a background event occurs)
|
||||
|
Loading…
Reference in New Issue
Block a user