// Licence:
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "splash.h"
#endif
#ifndef _WX_SPLASH_H_
#define _WX_SPLASH_H_
-#include "wx/frame.h"
+#ifndef WX_PRECOMP
+#include "wx/bitmap.h"
#include "wx/timer.h"
+#endif
+
+#include "wx/frame.h"
+
/*
* A window for displaying a splash screen
class WXDLLEXPORT wxSplashScreen: public wxFrame
{
public:
- wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds, wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxSIMPLE_BORDER|wxFRAME_FLOAT_ON_PARENT);
+ // for RTTI macros only
+ wxSplashScreen() {};
+ wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds,
+ wxWindow* parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP);
~wxSplashScreen();
void OnCloseWindow(wxCloseEvent& event);
int m_milliseconds;
wxTimer m_timer;
+DECLARE_DYNAMIC_CLASS(wxSplashScreen)
DECLARE_EVENT_TABLE()
};