static void Enable(bool flag);
static void SetDelay(long milliseconds);
+
+ %property(Tip, GetTip, SetTip, doc="See `GetTip` and `SetTip`");
+ %property(Window, GetWindow, doc="See `GetWindow`");
};
#endif
~wxCaret();
%extend {
- %pythonAppend Destroy "args[0].thisown = 0"
+ %pythonPrepend Destroy "args[0].this.own(False)"
DocStr(Destroy,
"Deletes the C++ object this Python object is a proxy for.", "");
void Destroy() {
static int GetBlinkTime();
static void SetBlinkTime(int milliseconds);
+
+ %property(Position, GetPosition, doc="See `GetPosition`");
+ %property(Size, GetSize, SetSize, doc="See `GetSize` and `SetSize`");
+ %property(Window, GetWindow, doc="See `GetWindow`");
+
};
class wxBusyInfo : public wxObject {
public:
- wxBusyInfo(const wxString& message);
+ wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
~wxBusyInfo();
%pythoncode { def Destroy(self): pass }
public:
// ctor starts the stop watch
wxStopWatch();
-
+ ~wxStopWatch();
+
// start the stop watch at the moment t0
void Start(long t0 = 0);
int GetCount() const;
%pythoncode { GetNoHistoryFiles = GetCount }
+ %property(Count, GetCount, doc="See `GetCount`");
+ %property(HistoryFile, GetHistoryFile, doc="See `GetHistoryFile`");
+ %property(MaxFiles, GetMaxFiles, doc="See `GetMaxFiles`");
+ %property(NoHistoryFiles, GetNoHistoryFiles, doc="See `GetNoHistoryFiles`");
};
int GetOSMajorVersion() const;
int GetOSMinorVersion() const;
+ bool CheckOSVersion(int major, int minor) const;
+
int GetToolkitMajorVersion() const;
int GetToolkitMinorVersion() const;
+ bool CheckToolkitVersion(int major, int minor) const;
+
bool IsUsingUniversalWidgets() const;
wxOperatingSystemId GetOperatingSystemId() const;
// -----------------
bool IsOk() const;
+
+ %property(ArchName, GetArchName, doc="See `GetArchName`");
+ %property(Architecture, GetArchitecture, SetArchitecture, doc="See `GetArchitecture` and `SetArchitecture`");
+ %property(Endianness, GetEndianness, SetEndianness, doc="See `GetEndianness` and `SetEndianness`");
+ %property(EndiannessName, GetEndiannessName, doc="See `GetEndiannessName`");
+ %property(OSMajorVersion, GetOSMajorVersion, doc="See `GetOSMajorVersion`");
+ %property(OSMinorVersion, GetOSMinorVersion, doc="See `GetOSMinorVersion`");
+ %property(OperatingSystemFamilyName, GetOperatingSystemFamilyName, doc="See `GetOperatingSystemFamilyName`");
+ %property(OperatingSystemId, GetOperatingSystemId, SetOperatingSystemId, doc="See `GetOperatingSystemId` and `SetOperatingSystemId`");
+ %property(OperatingSystemIdName, GetOperatingSystemIdName, doc="See `GetOperatingSystemIdName`");
+ %property(PortId, GetPortId, SetPortId, doc="See `GetPortId` and `SetPortId`");
+ %property(PortIdName, GetPortIdName, doc="See `GetPortIdName`");
+ %property(PortIdShortName, GetPortIdShortName, doc="See `GetPortIdShortName`");
+ %property(ToolkitMajorVersion, GetToolkitMajorVersion, doc="See `GetToolkitMajorVersion`");
+ %property(ToolkitMinorVersion, GetToolkitMinorVersion, doc="See `GetToolkitMinorVersion`");
+
};