#ifndef _WX_MINIFRAM_H_
#define _WX_MINIFRAM_H_
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma interface "minifram.h"
#endif
long style = wxCAPTION | wxCLIP_CHILDREN | wxRESIZE_BORDER,
const wxString& name = wxFrameNameStr)
{
- return Create(parent, id, title, pos, size,
- style |
- wxFRAME_TOOL_WINDOW |
- (parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
+ return wxFrame::Create(parent, id, title, pos, size,
+ style |
+ wxFRAME_TOOL_WINDOW |
+ (parent ? wxFRAME_FLOAT_ON_PARENT : 0), name);
}
wxMiniFrame(wxWindow *parent,
}
protected:
- DECLARE_DYNAMIC_CLASS(wxMiniFrame)
+ DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
};
#endif