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:
parent
e6f09be7da
commit
78bd7ed38c
@ -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) )
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user