X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..29604c85d6ff8f4cd1eaa19adf41862372ea4c54:/samples/widgets/filectrl.cpp diff --git a/samples/widgets/filectrl.cpp b/samples/widgets/filectrl.cpp index 2c4f633259..09affc6cfa 100644 --- a/samples/widgets/filectrl.cpp +++ b/samples/widgets/filectrl.cpp @@ -71,7 +71,7 @@ public: FileCtrlWidgetsPage( WidgetsBookCtrl *book, wxImageList *imaglist ); virtual ~FileCtrlWidgetsPage() {} - virtual wxControl *GetWidget() const { return /*m_fileCtrl*/NULL; } + virtual wxControl *GetWidget() const { return m_fileCtrl; } virtual void RecreateWidget() { CreateFileCtrl(); } // lazy creation of the content