Implement wxPropertyGrid as wxScrolled
Scrolling operations and related calculations are simpler when wxPG is implemented as wxScrolled instead of wxScrollHelper.
This commit is contained in:
@@ -534,8 +534,7 @@ typedef int (*wxPGSortCallback)(wxPropertyGrid* propGrid,
|
||||
@category{propgrid}
|
||||
@appearance{propertygrid}
|
||||
*/
|
||||
class wxPropertyGrid : public wxControl,
|
||||
public wxScrollHelper,
|
||||
class wxPropertyGrid : public wxScrolled<wxControl>,
|
||||
public wxPropertyGridInterface
|
||||
{
|
||||
public:
|
||||
|
Reference in New Issue
Block a user