]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/osx/core/private.h
adding a more extensive version to arrive at the impl when given a native control...
[wxWidgets.git] / include / wx / osx / core / private.h
index 0bf016b71fd8f36c2babff584bf12964da09099e..f6fe11ee6867d8a233e10068a2087baeec105847 100644 (file)
@@ -341,9 +341,16 @@ public :
 
     // static methods for associating native controls and their implementations
 
+    // finds the impl associated with this native control
     static wxWidgetImpl*
                         FindFromWXWidget(WXWidget control);
 
+    // finds the impl associated with this native control, if the native control itself is not known
+    // also checks whether its parent is eg a registered scrollview, ie whether the control is a native subpart
+    // of a known control
+    static wxWidgetImpl*
+                        FindBestFromWXWidget(WXWidget control);
+    
     static void         RemoveAssociations( wxWidgetImpl* impl);
 
     static void         Associate( WXWidget control, wxWidgetImpl *impl );