little tweaks to match recent CVS changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,7 +114,8 @@
|
|||||||
%rename(SHUTDOWN_REBOOT) wxSHUTDOWN_REBOOT;
|
%rename(SHUTDOWN_REBOOT) wxSHUTDOWN_REBOOT;
|
||||||
%rename(Shutdown) wxShutdown;
|
%rename(Shutdown) wxShutdown;
|
||||||
%rename(Sleep) wxSleep;
|
%rename(Sleep) wxSleep;
|
||||||
%rename(Usleep) wxUsleep;
|
%rename(MilliSleep) wxMilliSleep;
|
||||||
|
%rename(MicroSleep) wxMicroSleep;
|
||||||
%rename(EnableTopLevelWindows) wxEnableTopLevelWindows;
|
%rename(EnableTopLevelWindows) wxEnableTopLevelWindows;
|
||||||
%rename(StripMenuCodes) wxStripMenuCodes;
|
%rename(StripMenuCodes) wxStripMenuCodes;
|
||||||
%rename(GetEmailAddress) wxGetEmailAddress;
|
%rename(GetEmailAddress) wxGetEmailAddress;
|
||||||
|
@@ -80,7 +80,10 @@ bool wxShutdown(wxShutdownFlags wFlags);
|
|||||||
|
|
||||||
|
|
||||||
void wxSleep(int secs);
|
void wxSleep(int secs);
|
||||||
void wxUsleep(unsigned long milliseconds);
|
void wxMilliSleep(unsigned long milliseconds);
|
||||||
|
void wxMicroSleep(unsigned long microseconds);
|
||||||
|
%pythoncode { Usleep = MilliSleep }
|
||||||
|
|
||||||
void wxEnableTopLevelWindows(bool enable);
|
void wxEnableTopLevelWindows(bool enable);
|
||||||
|
|
||||||
wxString wxStripMenuCodes(const wxString& in);
|
wxString wxStripMenuCodes(const wxString& in);
|
||||||
|
@@ -178,7 +178,7 @@ public:
|
|||||||
// sends a size event to the window using its current size -- this has an
|
// sends a size event to the window using its current size -- this has an
|
||||||
// effect of refreshing the window layout
|
// effect of refreshing the window layout
|
||||||
//
|
//
|
||||||
virtual void SendSizeEvent() { }
|
virtual void SendSizeEvent();
|
||||||
|
|
||||||
|
|
||||||
// menu bar functions
|
// menu bar functions
|
||||||
@@ -286,8 +286,8 @@ public:
|
|||||||
|
|
||||||
// the modal dialogs have a return code - usually the id of the last
|
// the modal dialogs have a return code - usually the id of the last
|
||||||
// pressed button
|
// pressed button
|
||||||
void SetReturnCode(int returnCode) { m_returnCode = returnCode; }
|
void SetReturnCode(int returnCode);
|
||||||
int GetReturnCode() const { return m_returnCode; }
|
int GetReturnCode() const;
|
||||||
|
|
||||||
// splits text up at newlines and places the
|
// splits text up at newlines and places the
|
||||||
// lines into a vertical wxBoxSizer
|
// lines into a vertical wxBoxSizer
|
||||||
@@ -311,6 +311,11 @@ public:
|
|||||||
|
|
||||||
static wxVisualAttributes
|
static wxVisualAttributes
|
||||||
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
|
||||||
|
|
||||||
|
%pythoncode {
|
||||||
|
def SendSizeEvent(self):
|
||||||
|
self.ProcessEvent(wx.SizeEvent((-1,-1)))
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@@ -871,8 +871,30 @@ control custom keypress handler to do the default navigation behaviour
|
|||||||
for the tab key, since the standard default behaviour for a multiline
|
for the tab key, since the standard default behaviour for a multiline
|
||||||
text control with the wx.TE_PROCESS_TAB style is to insert a tab and
|
text control with the wx.TE_PROCESS_TAB style is to insert a tab and
|
||||||
not navigate to the next control.");
|
not navigate to the next control.");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
void , MoveAfterInTabOrder(wxWindow *win),
|
||||||
|
"Moves this window in the tab navigation order after the specified
|
||||||
|
sibling window. This means that when the user presses the TAB key on
|
||||||
|
that other window, the focus switches to this window.
|
||||||
|
|
||||||
|
The default tab order is the same as creation order. This function
|
||||||
|
and `MoveBeforeInTabOrder` allow to change it after creating all the
|
||||||
|
windows.
|
||||||
|
", "");
|
||||||
|
|
||||||
|
|
||||||
|
DocDeclStr(
|
||||||
|
void , MoveBeforeInTabOrder(wxWindow *win),
|
||||||
|
"Same as `MoveAfterInTabOrder` except that it inserts this window just
|
||||||
|
before win instead of putting it right after it.", "");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -146,7 +146,8 @@ wxSHUTDOWN_POWEROFF = wx._misc.SHUTDOWN_POWEROFF
|
|||||||
wxSHUTDOWN_REBOOT = wx._misc.SHUTDOWN_REBOOT
|
wxSHUTDOWN_REBOOT = wx._misc.SHUTDOWN_REBOOT
|
||||||
wxShutdown = wx._misc.Shutdown
|
wxShutdown = wx._misc.Shutdown
|
||||||
wxSleep = wx._misc.Sleep
|
wxSleep = wx._misc.Sleep
|
||||||
wxUsleep = wx._misc.Usleep
|
wxMilliSleep = wx._misc.MilliSleep
|
||||||
|
wxMicroSleep = wx._misc.MicroSleep
|
||||||
wxEnableTopLevelWindows = wx._misc.EnableTopLevelWindows
|
wxEnableTopLevelWindows = wx._misc.EnableTopLevelWindows
|
||||||
wxStripMenuCodes = wx._misc.StripMenuCodes
|
wxStripMenuCodes = wx._misc.StripMenuCodes
|
||||||
wxGetEmailAddress = wx._misc.GetEmailAddress
|
wxGetEmailAddress = wx._misc.GetEmailAddress
|
||||||
|
Reference in New Issue
Block a user