X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cc1d4ff2a0c78666f35bbfa34fcc609d7862709..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/motif/mdi.h diff --git a/include/wx/motif/mdi.h b/include/wx/motif/mdi.h index 8130198732..e6026188df 100644 --- a/include/wx/motif/mdi.h +++ b/include/wx/motif/mdi.h @@ -12,7 +12,7 @@ #ifndef _WX_MDI_H_ #define _WX_MDI_H_ -#if defined(__GNUG__) && !defined(__APPLE__) +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma interface "mdi.h" #endif @@ -156,20 +156,20 @@ public: void ReleaseMouse(); void Raise(); void Lower(void); - void SetSizeHints(int minW = -1, int minH = -1, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1); + void DoSetSizeHints(int minW = -1, int minH = -1, int maxW = -1, int maxH = -1, int incW = -1, int incH = -1); // MDI operations virtual void Maximize(); virtual void Maximize(bool WXUNUSED(maximize)) { }; - inline void Minimize() { Iconize(TRUE); }; + inline void Minimize() { Iconize(true); }; virtual void Iconize(bool iconize); virtual void Restore(); virtual void Activate(); virtual bool IsIconized() const ; - virtual bool IsTopLevel() const { return FALSE; } + virtual bool IsTopLevel() const { return false; } - // Is the frame maximized? Returns TRUE for + // Is the frame maximized? Returns true for // wxMDIChildFrame due to the tabbed implementation. virtual bool IsMaximized(void) const ;