X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/be5a51fb592f3fa2ba38ac6cd1e488d6d806058c..b591b7cf2bb27ff38d1dbe6f22496918a9a72a79:/samples/grid/griddemo.h diff --git a/samples/grid/griddemo.h b/samples/grid/griddemo.h index a06464e232..49629b633d 100644 --- a/samples/grid/griddemo.h +++ b/samples/grid/griddemo.h @@ -24,8 +24,10 @@ public: class GridFrame : public wxFrame { wxGrid *grid; +#if wxUSE_LOG wxTextCtrl *logWin; wxLogTextCtrl *logger; +#endif // wxUSE_LOG wxString logBuf; void SetDefaults(); @@ -148,7 +150,9 @@ public: ID_TESTFUNC }; +#if wxUSE_LOG wxLog *m_logOld; +#endif // wxUSE_LOG // add the cells to selection when using commands from select menu? bool m_addToSel; @@ -185,7 +189,7 @@ public: } void SetValue( int , int , const wxString& ) { /* ignore */ } - bool IsEmptyCell( int , int ) { return FALSE; } + bool IsEmptyCell( int , int ) { return false; } private: long m_sizeGrid;