Fix wxPropertyGrid compilation when wxUSE_TOOLBAR==0
Don't use toolbar associated with wxPG in this case.
This commit is contained in:
@@ -459,9 +459,11 @@ public:
|
||||
return m_pPropGrid->GetSelection();
|
||||
}
|
||||
|
||||
#if wxUSE_TOOLBAR
|
||||
/** Returns a pointer to the toolbar currently associated with the
|
||||
wxPropertyGridManager (if any). */
|
||||
wxToolBar* GetToolBar() const { return m_pToolbar; }
|
||||
#endif // wxUSE_TOOLBAR
|
||||
|
||||
/** Creates new property page. Note that the first page is not created
|
||||
automatically.
|
||||
|
Reference in New Issue
Block a user