diff --git a/include/wx/generic/infobar.h b/include/wx/generic/infobar.h index a858c6d0d7..aef0e8c9fb 100644 --- a/include/wx/generic/infobar.h +++ b/include/wx/generic/infobar.h @@ -81,6 +81,11 @@ public: virtual bool SetFont(const wxFont& font); protected: + // info bar shouldn't have any border by default, the colour difference + // between it and the main window separates it well enough + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + + // update the parent to take our new or changed size into account (notably // should be called when we're shown or hidden) void UpdateParent();