%{
#include "helpers.h"
#include <wx/minifram.h>
+#include <wx/tipwin.h>
%}
//----------------------------------------------------------------------
class wxFrame : public wxWindow {
public:
wxFrame(wxWindow* parent, const wxWindowID id, const wxString& title,
- const wxPoint& pos = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
char* name = "frame");
wxPoint GetClientAreaOrigin() const;
bool Command(int id);
bool ProcessCommand(int id);
-#ifdef __WXMSW__
bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL);
-#endif
+ bool IsFullScreen();
};
//---------------------------------------------------------------------------
class wxMiniFrame : public wxFrame {
public:
wxMiniFrame(wxWindow* parent, const wxWindowID id, const wxString& title,
- const wxPoint& pos = wxPyDefaultPosition,
- const wxSize& size = wxPyDefaultSize,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
char* name = "frame");
//---------------------------------------------------------------------------
+class wxTipWindow : public wxFrame
+{
+public:
+ wxTipWindow(wxWindow *parent,
+ const wxString& text,
+ wxCoord maxLength = 100);
+};
+
+
+//---------------------------------------------------------------------------
+