X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6305f044a1d4cce68128529fa939a2cc1d35df85..14619f10b0bdb630206607abd0ce0319d45e095a:/samples/widgets/filectrl.cpp?ds=sidebyside diff --git a/samples/widgets/filectrl.cpp b/samples/widgets/filectrl.cpp index fc6f9c679b..09affc6cfa 100644 --- a/samples/widgets/filectrl.cpp +++ b/samples/widgets/filectrl.cpp @@ -6,7 +6,7 @@ // Created: 28 Jul 2007 // Id: $Id$ // Copyright: (c) 2007 Diaa M. Sami -// License: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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