Replace images in wxRendererMac::DrawTitleBarBitmap() with drawing code.

The low resolution (14x14) bitmaps scaled badly on high resolution displays. A close button suitable for usage inside a window (like wxInfoBar) is not available via HI theme drawing methods. This drawing code tries to emulate a close button, as close as possible to the one found in the Xcode 6+ welcome window.
This commit is contained in:
Tobias Taschner
2015-09-25 15:20:05 +02:00
parent 4a3f3f4ed7
commit e0cb697991
6 changed files with 32 additions and 201 deletions

View File

@@ -520,10 +520,6 @@ public:
The presence of this function is indicated by @c
wxHAS_DRAW_TITLE_BAR_BITMAP symbol being defined.
Also notice that PNG handler must be enabled using wxImage::AddHandler()
to use this function under OS X currently as the bitmaps are embedded
in the library itself in PNG format.
@since 2.9.1
*/
virtual void DrawTitleBarBitmap(wxWindow *win,