%{
#include "helpers.h"
#include <wx/minifram.h>
-#include <wx/tipwin.h>
+#include <wx/splash.h>
%}
//----------------------------------------------------------------------
virtual bool IsIconized() const;
// get the frame icon
- const wxIcon& GetIcon() const;
+ wxIcon GetIcon() const;
// set the frame icon
virtual void SetIcon(const wxIcon& icon);
//---------------------------------------------------------------------------
-class wxTipWindow : public wxFrame
+enum {
+ wxSPLASH_CENTRE_ON_PARENT,
+ wxSPLASH_CENTRE_ON_SCREEN,
+ wxSPLASH_NO_CENTRE,
+ wxSPLASH_TIMEOUT,
+ wxSPLASH_NO_TIMEOUT,
+};
+
+
+class wxSplashScreenWindow: public wxWindow
{
public:
- wxTipWindow(wxWindow *parent,
- const wxString& text,
- wxCoord maxLength = 100);
+ wxSplashScreenWindow(const wxBitmap& bitmap,
+ wxWindow* parent, wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long style = wxNO_BORDER);
+
+ void SetBitmap(const wxBitmap& bitmap);
+ wxBitmap& GetBitmap();
+};
- %pragma(python) addtomethod = "__init__:self._setOORInfo(self)"
+
+class 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_NO_TASKBAR|wxFRAME_FLOAT_ON_PARENT);
+
+ long GetSplashStyle() const;
+ wxSplashScreenWindow* GetSplashWindow() const;
+ int GetTimeout() const;
};
+