]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/filepickerg.h
Last part from weak ref patch for event sink disconnection
[wxWidgets.git] / include / wx / generic / filepickerg.h
index 3d150f7758770f28164bc75ac422673287020bbb..ee1e83910b46fe7ca0e253741d7f0a96be90f6a7 100644 (file)
@@ -48,6 +48,8 @@ public:
 
     virtual ~wxGenericFileDirButton() {}
 
+    virtual wxControl *AsControl() { return this; }
+
 public:     // overrideable
 
     virtual wxDialog *CreateDialog() = 0;