Bug #15207 2009-02-05 16:13
yesno
Extra-code not written
(only wxCustomButton and CustomWidget) If you write extra-code for these widgets, it will be stored in the .wxs file, but not in the source. In both cases a function call is missing. See the two diff files. Index: wxscustomwidget.cpp =================================================================== --- wxscustomwidget.cpp (Revision 5440) +++ wxscustomwidget.cpp (Arbeitskopie) @@ -74,6 +74,7 @@ Result.Replace(_T("$(CLASS)"),GetUserClass()); AddBuildingCode(Result+_T("\n")); + BuildSetupWindowCode(); } wxObject* wxsCustomWidget::OnBuildPreview(wxWindow* Parent,long Flags) Index: wxscustombutton.cpp =================================================================== --- wxscustombutton.cpp (Revision 5440) +++ wxscustombutton.cpp (Arbeitskopie) @@ -159,7 +159,7 @@ { Codef(_T("%ASetBitmapMargin(%z);\n"),&m_BitmapMargins); } - + BuildSetupWindowCode(); break; } I am not sure if the modification for wxsCustomWidget is necessary, because the construction property provides all you need. With kind regards.
- Category
- Plugin::wxSmith
- Group
- Status
- Open
- Close date
- Assigned to