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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user