Added an #ifdef

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-07-10 20:05:30 +00:00
parent e6f09be7da
commit 78bd7ed38c
2 changed files with 3 additions and 0 deletions

View File

@ -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) )

View File

@ -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 \