From 78bd7ed38ccdfdd5f2cf6cf77089046b9e3993b5 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 10 Jul 1999 20:05:30 +0000 Subject: [PATCH] Added an #ifdef git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- samples/dialogs/dialogs.cpp | 2 ++ src/msw/makefile.vc | 1 + 2 files changed, 3 insertions(+) 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 \ -- 2.50.0