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:
@@ -1224,8 +1224,7 @@ void MyFrame::ShowFullAboutDialog(wxCommandEvent& WXUNUSED(event))
|
||||
wxAboutBox(info);
|
||||
}
|
||||
|
||||
void MyFrame::ShowCustomAboutDialog(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
// a trivial example of a custom dialog class
|
||||
class MyAboutDialog : public wxGenericAboutDialog
|
||||
{
|
||||
public:
|
||||
@@ -1243,6 +1242,8 @@ void MyFrame::ShowCustomAboutDialog(wxCommandEvent& WXUNUSED(event))
|
||||
}
|
||||
};
|
||||
|
||||
void MyFrame::ShowCustomAboutDialog(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
wxAboutDialogInfo info;
|
||||
InitAboutInfoAll(info);
|
||||
|
||||
|
Reference in New Issue
Block a user