]> git.saurik.com Git - wxWidgets.git/commitdiff
we have to export every virtual method in this template class for clang
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 3 Mar 2012 17:30:32 +0000 (17:30 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 3 Mar 2012 17:30:32 +0000 (17:30 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/containr.h

index db2956ca4eb20a7a745cd28f6138990da596614f..295a6c8d7b24d393dbf0ea0c138f51534be8b684 100644 (file)
@@ -179,29 +179,29 @@ public:
 #endif // !wxHAS_NATIVE_TAB_TRAVERSAL
     }
 
-    virtual bool AcceptsFocus() const
+    WXDLLIMPEXP_CORE virtual bool AcceptsFocus() const
     {
         return m_container.AcceptsFocus();
     }
 
-    virtual bool AcceptsFocusRecursively() const
+    WXDLLIMPEXP_CORE virtual bool AcceptsFocusRecursively() const
     {
         return m_container.AcceptsFocusRecursively();
     }
 
-    virtual bool AcceptsFocusFromKeyboard() const
+    WXDLLIMPEXP_CORE virtual bool AcceptsFocusFromKeyboard() const
     {
         return m_container.AcceptsFocusFromKeyboard();
     }
 
-    virtual void AddChild(wxWindowBase *child)
+    WXDLLIMPEXP_CORE virtual void AddChild(wxWindowBase *child)
     {
         BaseWindowClass::AddChild(child);
 
         m_container.UpdateCanFocus();
     }
 
-    virtual void RemoveChild(wxWindowBase *child)
+    WXDLLIMPEXP_CORE virtual void RemoveChild(wxWindowBase *child)
     {
 #ifndef wxHAS_NATIVE_TAB_TRAVERSAL
         m_container.HandleOnWindowDestroy(child);
@@ -212,7 +212,7 @@ public:
         m_container.UpdateCanFocus();
     }
 
-    virtual void SetFocus()
+    WXDLLIMPEXP_CORE virtual void SetFocus()
     {
         if ( !m_container.DoSetFocus() )
             BaseWindowClass::SetFocus();