attempt to fix linking error in one of the tinderbox builds by moving local class declaration out of the function

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-11-04 10:57:24 +00:00
parent dddfcb3118
commit 1dcfc3331f

View File

@@ -1224,8 +1224,7 @@ void MyFrame::ShowFullAboutDialog(wxCommandEvent& WXUNUSED(event))
wxAboutBox(info); wxAboutBox(info);
} }
void MyFrame::ShowCustomAboutDialog(wxCommandEvent& WXUNUSED(event)) // a trivial example of a custom dialog class
{
class MyAboutDialog : public wxGenericAboutDialog class MyAboutDialog : public wxGenericAboutDialog
{ {
public: public:
@@ -1243,6 +1242,8 @@ void MyFrame::ShowCustomAboutDialog(wxCommandEvent& WXUNUSED(event))
} }
}; };
void MyFrame::ShowCustomAboutDialog(wxCommandEvent& WXUNUSED(event))
{
wxAboutDialogInfo info; wxAboutDialogInfo info;
InitAboutInfoAll(info); InitAboutInfoAll(info);