diff --git a/include/wx/toplevel.h b/include/wx/toplevel.h new file mode 100644 index 0000000000..84d619eaa3 --- /dev/null +++ b/include/wx/toplevel.h @@ -0,0 +1,34 @@ +/////////////////////////////////////////////////////////////////////////////// +// Name: wx/toplevel.h +// Purpose: declares wxTopLevelWindow class, the base class for all +// top level windows (such as frames and dialogs) +// Author: Vadim Zeitlin +// Modified by: +// Created: 06.08.01 +// RCS-ID: $Id$ +// Copyright: (c) 2001 Vadim Zeitlin +// Licence: wxWindows licence +/////////////////////////////////////////////////////////////////////////////// + +#ifndef _WX_TOPLEVEL_H_ +#define _WX_TOPLEVEL_H_ + +#include "wx/window.h" + +// ---------------------------------------------------------------------------- +// wxTopLevelWindow: a top level (as opposed to child) window +// ---------------------------------------------------------------------------- + +class WXDLLEXPORT wxTopLevelWindow : public wxWindow +{ +public: + /* + for now we already have them in wxWindow, but this is wrong: these + methods really only make sense for wxTopLevelWindow! + + virtual void SetTitle( const wxString& title) = 0; + virtual wxString GetTitle() const = 0; + */ +}; + +#endif // _WX_TOPLEVEL_H_