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:
Robin Dunn
2004-07-06 21:01:33 +00:00
parent d447660794
commit 705b61cce0
5 changed files with 38 additions and 6 deletions

View File

@@ -178,7 +178,7 @@ public:
// sends a size event to the window using its current size -- this has an
// effect of refreshing the window layout
//
virtual void SendSizeEvent() { }
virtual void SendSizeEvent();
// menu bar functions
@@ -286,8 +286,8 @@ public:
// the modal dialogs have a return code - usually the id of the last
// pressed button
void SetReturnCode(int returnCode) { m_returnCode = returnCode; }
int GetReturnCode() const { return m_returnCode; }
void SetReturnCode(int returnCode);
int GetReturnCode() const;
// splits text up at newlines and places the
// lines into a vertical wxBoxSizer
@@ -311,6 +311,11 @@ public:
static wxVisualAttributes
GetClassDefaultAttributes(wxWindowVariant variant = wxWINDOW_VARIANT_NORMAL);
%pythoncode {
def SendSizeEvent(self):
self.ProcessEvent(wx.SizeEvent((-1,-1)))
}
};
//---------------------------------------------------------------------------