wxNotebookPage *pPage,
const wxString& strText,
bool bSelect = false,
- int imageId = -1);
+ int imageId = NO_IMAGE);
// Windows-only at present. Also, you must use the wxNB_FIXEDWIDTH
// style.
return true;
}
- // return the themed brush for painting our children
- virtual WXHBRUSH MSWGetBgBrushForChild(WXHDC hDC, wxWindow *child);
-
// draw child background
virtual bool MSWPrintChild(WXHDC hDC, wxWindow *win);
void AdjustPageSize(wxNotebookPage *page);
#if wxUSE_UXTHEME
+ // return the themed brush for painting our children
+ virtual WXHBRUSH MSWGetCustomBgBrush() { return m_hbrBackground; }
+
// gets the bitmap of notebook background and returns a brush from it
WXHBRUSH QueryBgBitmap();
// true if we have already subclassed our updown control
bool m_hasSubclassedUpdown;
+
+ // true if we already refreshed the current page after showing the window
+ bool m_doneUpdateHack;
#endif // __WXWINCE__
#if wxUSE_UXTHEME