]> git.saurik.com Git - wxWidgets.git/commitdiff
Move body of SetFocusOnCanvas to .cpp file
authorRobert Roebling <robert@roebling.de>
Tue, 30 Sep 2008 07:15:40 +0000 (07:15 +0000)
committerRobert Roebling <robert@roebling.de>
Tue, 30 Sep 2008 07:15:40 +0000 (07:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/propgrid/propgrid.h
src/propgrid/propgrid.cpp

index e22071ab4ae86fe381d521f7b49c99f749b6e572..8737abd2af05d02d047ee0e0ba69cc882d6fd3db 100644 (file)
@@ -1822,11 +1822,7 @@ protected:
                     wxVariant* pValue = NULL,
                     unsigned int selFlags = 0 );
 
-    void SetFocusOnCanvas()
-    {
-        m_canvas->SetFocusIgnoringChildren();
-        m_editorFocused = 0;
-    }
+    void SetFocusOnCanvas();
 
     bool DoHideProperty( wxPGProperty* p, bool hide, int flags );
 
index e161307f7786dad5a87c499a52e9a052a66b3aa3..7e08170b36e55e9f05081941230fa94754045aa0 100644 (file)
@@ -4113,6 +4113,12 @@ void wxPropertyGrid::SetVirtualWidth( int width )
     m_pState->SetVirtualWidth( width );
 }
 
+void wxPropertyGrid::SetFocusOnCanvas()
+{
+    m_canvas->SetFocusIgnoringChildren();
+    m_editorFocused = 0;
+}
+
 // -----------------------------------------------------------------------
 // wxPropertyGrid mouse event handling
 // -----------------------------------------------------------------------