Remove unused IsCanvasWindow() from wxUniv

This function existed but was never used, so just remove it.
This commit is contained in:
Vadim Zeitlin 2022-11-12 21:50:48 +01:00
parent cf920319ed
commit 544855c5ea
2 changed files with 0 additions and 6 deletions

View file

@ -29,8 +29,6 @@ public:
Create(parent, winid, pos, size, style, name);
}
virtual bool IsCanvasWindow() const { return true; }
private:
wxDECLARE_DYNAMIC_CLASS_NO_COPY(wxPanel);
};

View file

@ -140,10 +140,6 @@ public:
// methods used by wxColourScheme to choose the colours for this window
// --------------------------------------------------------------------
// return true if this is a panel/canvas window which contains other
// controls only
virtual bool IsCanvasWindow() const { return false; }
// return true if this control can be highlighted when the mouse is over
// it (the theme decides itself whether it is really highlighted or not)
virtual bool CanBeHighlighted() const { return false; }