Removed intermediate wxPanel from wxPropertyGrid.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-10-10 09:52:44 +00:00
parent 8e6efd1fd2
commit 39e4e221dd
4 changed files with 113 additions and 195 deletions

View File

@@ -655,7 +655,6 @@ class WXDLLIMPEXP_PROPGRID
friend class wxPropertyGridPageState;
friend class wxPropertyGridInterface;
friend class wxPropertyGridManager;
friend class wxPGCanvas;
DECLARE_DYNAMIC_CLASS(wxPropertyGrid)
public:
@@ -814,9 +813,9 @@ public:
Returns wxWindow that the properties are painted on, and which should
be used as the parent for editor controls.
*/
wxPanel* GetPanel() const
wxWindow* GetPanel()
{
return m_canvas;
return this;
}
/** Returns current category caption background colour. */
@@ -1623,9 +1622,6 @@ protected:
wxWindow *m_wndEditor;
wxWindow *m_wndEditor2;
/** wxPGCanvas instance. */
wxPanel *m_canvas;
#if wxPG_DOUBLE_BUFFER
wxBitmap *m_doubleBuffer;
#endif
@@ -1882,7 +1878,6 @@ protected:
// main event receivers
void OnMouseMove( wxMouseEvent &event );
void OnMouseMoveBottom( wxMouseEvent &event );
void OnMouseClick( wxMouseEvent &event );
void OnMouseRightClick( wxMouseEvent &event );
void OnMouseDoubleClick( wxMouseEvent &event );