Clipboard update
menuitem->SetName() -> SetText() (or other raound) GetChildren() returns reference this still doesn't compile, I'm waiting git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -254,11 +254,11 @@ void wxDialog::OnSize( wxSizeEvent &WXUNUSED(event) )
|
||||
else
|
||||
{
|
||||
// no child: go out !
|
||||
if (!GetChildren()->First()) return;
|
||||
if (!GetChildren().First()) return;
|
||||
|
||||
// do we have exactly one child?
|
||||
wxWindow *child = (wxWindow *) NULL;
|
||||
for(wxNode *node = GetChildren()->First(); node; node = node->Next())
|
||||
for(wxNode *node = GetChildren().First(); node; node = node->Next())
|
||||
{
|
||||
wxWindow *win = (wxWindow *)node->Data();
|
||||
if (!IS_KIND_OF(win,wxFrame) && !IS_KIND_OF(win,wxDialog))
|
||||
|
Reference in New Issue
Block a user