// titlebars
virtual wxRect GetFrameClientArea(const wxRect& rect, int flags) const;
virtual wxSize GetFrameTotalSize(const wxSize& clientSize, int flags) const;
+ virtual wxSize GetFrameMinSize(int flags) const;
virtual wxSize GetFrameIconSize() const;
virtual int HitTestFrame(const wxRect& rect, const wxPoint& pt, int flags) const;
case HIGHLIGHT: return wxColour(0x9c0000);
case HIGHLIGHT_TEXT: return wxColour(0xffffff);
+ case GAUGE: return Get(CONTROL_CURRENT);
+
case MAX:
default:
wxFAIL_MSG(_T("invalid standard colour"));
wxCoord *extraSpaceBeyond)
{
wxRect rectText = rect;
- rectText.Inflate(-2*BORDER_THICKNESS);
+ rectText.Deflate(2*BORDER_THICKNESS);
if ( text->WrapLines() )
{
return clientSize;
}
+wxSize wxGTKRenderer::GetFrameMinSize(int flags) const
+{
+ return wxSize(0,0);
+}
+
wxSize wxGTKRenderer::GetFrameIconSize() const
{
return wxSize(-1, -1);