X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6305f044a1d4cce68128529fa939a2cc1d35df85..89b3361ec25cf1e6d255b14c7633d8375646e4fb:/samples/widgets/filectrl.cpp 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