#ifndef _WX_MSW_TOPLEVEL_H_
#define _WX_MSW_TOPLEVEL_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "toplevel.h"
#endif
{
public:
// constructors and such
- wxTopLevelWindowMSW() { Init(); }
+ wxTopLevelWindowMSW();
wxTopLevelWindowMSW(wxWindow *parent,
wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
- const wxString& name = wxFrameNameStr)
- {
- Init();
-
- (void)Create(parent, id, title, pos, size, style, name);
- }
+ const wxString& name = wxFrameNameStr);
bool Create(wxWindow *parent,
wxWindowID id,