]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/filectrl.cpp
Use library-specific description in their version resources for MSW DLLs.
[wxWidgets.git] / samples / widgets / filectrl.cpp
index 2c4f633259eee95f273ba18692596635cae5a333..09affc6cfa6b3a7c82ca81950771ce697d6f5573 100644 (file)
@@ -71,7 +71,7 @@ public:
     FileCtrlWidgetsPage( WidgetsBookCtrl *book, wxImageList *imaglist );
     virtual ~FileCtrlWidgetsPage() {}
 
     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
     virtual void RecreateWidget() { CreateFileCtrl(); }
 
     // lazy creation of the content