///////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/toplevel.h
+// Name: wx/mac/classic/toplevel.h
// Purpose: wxTopLevelWindowMac is the Mac implementation of wxTLW
// Author: Stefan Csomor
// Modified by:
virtual ~wxTopLevelWindowMac();
// implement base class pure virtuals
- virtual void Maximize(bool maximize = TRUE);
+ virtual void Maximize(bool maximize = true);
virtual bool IsMaximized() const;
- virtual void Iconize(bool iconize = TRUE);
+ virtual void Iconize(bool iconize = true);
virtual bool IsIconized() const;
virtual void SetIcon(const wxIcon& icon);
virtual void SetIcons(const wxIconBundle& icons) { SetIcon( icons.GetIcon( -1 ) ); }
virtual bool SetShape(const wxRegion& region);
virtual bool ShowFullScreen(bool WXUNUSED(show), long WXUNUSED(style) = wxFULLSCREEN_ALL)
- { return FALSE; }
- virtual bool IsFullScreen() const { return FALSE; }
+ { return false; }
+ virtual bool IsFullScreen() const { return false; }
// implementation from now on
// --------------------------
virtual void MacKeyDown( WXEVENTREF ev ) ;
#endif
virtual void MacFireMouseEvent( wxUint16 kind , wxInt32 x , wxInt32 y ,wxUint32 modifiers , long timestamp ) ;
+
+ virtual void SetTitle( const wxString& title);
+ virtual wxString GetTitle() const;
+
virtual void Raise();
virtual void Lower();
- virtual void SetTitle( const wxString& title);
- virtual bool Show( bool show = TRUE );
+ virtual bool Show( bool show = true );
virtual void DoMoveWindow(int x, int y, int width, int height);
void MacInvalidate( const WXRECTPTR rect, bool eraseBackground ) ;
short MacGetWindowBackgroundTheme() const { return m_macWindowBackgroundTheme ; }
- static bool MacEnableCompositing( bool useCompositing );
- bool MacUsesCompositing() { return m_macUsesCompositing; }
+ static bool MacEnableCompositing( bool useCompositing );
+ bool MacUsesCompositing() { return m_macUsesCompositing; }
#if TARGET_CARBON
WXEVENTHANDLERREF MacGetEventHandler() { return m_macEventHandler ; }
#endif // _WX_MSW_TOPLEVEL_H_
-