Changed wxSizer::GetSize() to DoGetSize() (and others)
Added debug code because I dont know why buttons sometimes work and sometimes not. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1342,13 +1342,13 @@ void wxSizer::DoSetSize(int x, int y, int w, int h, int WXUNUSED(flags))
|
||||
}
|
||||
}
|
||||
|
||||
void wxSizer::GetSize(int *w, int *h) const
|
||||
void wxSizer::DoGetSize(int *w, int *h) const
|
||||
{
|
||||
*w = sizerWidth;
|
||||
*h = sizerHeight;
|
||||
}
|
||||
|
||||
void wxSizer::GetPosition(int *x, int *y) const
|
||||
void wxSizer::DoGetPosition(int *x, int *y) const
|
||||
{
|
||||
*x = sizerX;
|
||||
*y = sizerY;
|
||||
|
Reference in New Issue
Block a user