Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv701/src/gui
Modified Files:
wxDialogLayout.cpp
Log Message:
fixed bug which messed up ids in the last commit
Index: wxDialogLayout.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxDialogLayout.cpp,v
retrieving revision 1.123
retrieving revision 1.124
diff -b -u -2 -r1.123 -r1.124
--- wxDialogLayout.cpp 26 Jun 2006 23:30:17 -0000 1.123
+++ wxDialogLayout.cpp 27 Jun 2006 00:31:06 -0000 1.124
@@ -235,4 +235,12 @@
control->SetConstraints(c);
+ // we have to make sure that the control is follows the label id as the code
+ // elsewhere relies on this
+ int idLabel = pLabel->GetId();
+ ASSERT_MSG( control->GetId() == wxWindow::PrevControlId(idLabel),
+ _T("control should have been created right before") );
+ pLabel->SetId(control->GetId());
+ control->SetId(idLabel);
+
return pLabel;
}
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates