diff --git a/samples/dialogs/dialogs.cpp b/samples/dialogs/dialogs.cpp index a4fde2951b..daf445cefb 100644 --- a/samples/dialogs/dialogs.cpp +++ b/samples/dialogs/dialogs.cpp @@ -312,6 +312,7 @@ void MyFrame::DirChoose(wxCommandEvent& WXUNUSED(event) ) void MyFrame::ShowTip(wxCommandEvent& event) { +#if wxUSE_STARTUP_TIPS static size_t s_index = (size_t)-1; if ( s_index == (size_t)-1 ) @@ -335,6 +336,7 @@ void MyFrame::ShowTip(wxCommandEvent& event) s_index = tipProvider->GetCurrentTip(); delete tipProvider; +#endif } void MyFrame::OnExit(wxCommandEvent& WXUNUSED(event) ) diff --git a/src/msw/makefile.vc b/src/msw/makefile.vc index 226b187b75..337520e00f 100644 --- a/src/msw/makefile.vc +++ b/src/msw/makefile.vc @@ -80,6 +80,7 @@ GENERICOBJS= \ ..\generic\$D\statusbr.obj \ ..\generic\$D\tabg.obj \ ..\generic\$D\textdlgg.obj \ + ..\generic\$D\extdlgg.obj \ ..\generic\$D\tipdlg.obj # ..\generic\$D\imaglist.obj \