///////////////////////////////////////////////////////////////////////////////
-// Name: wx/mac/carbon/toplevel.h
+// Name: wx/osx/toplevel.h
// Purpose: wxTopLevelWindowMac is the Mac implementation of wxTLW
// Author: Stefan Csomor
// Modified by:
(void)Create(parent, id, title, pos, size, style, name);
}
+ virtual ~wxTopLevelWindowMac();
+
bool Create(wxWindow *parent,
wxWindowID id,
const wxString& title,
long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxFrameNameStr);
- virtual ~wxTopLevelWindowMac();
+ bool Create(wxWindow *parent, WXWindow nativeWindow);
virtual bool Destroy();
virtual wxPoint GetClientAreaOrigin() const;
- virtual bool SetShape(const wxRegion& region)
- { return DoSetShape(region); }
-
// Attracts the users attention to this window if the application is
// inactive (should be called when a background event occurs)
virtual void RequestUserAttention(int flags = wxUSER_ATTENTION_INFO);
virtual void Iconize(bool iconize = true);
virtual bool IsIconized() const;
virtual void Restore();
-
+
virtual bool IsActive();
virtual void ShowWithoutActivating();
virtual void SetTitle( const wxString& title);
virtual wxString GetTitle() const;
- virtual void SetModified(bool modified);
- virtual bool GetModified() const;
+ virtual void OSXSetModified(bool modified);
+ virtual bool OSXIsModified() const;
protected:
// common part of all ctors