Skip Menu |
 

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 96136
Status: new
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: bsi [...] hosember.hu
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.9923
Fixed in: (no value)



Subject: Missing GetContentScaleFactor() in Wx::Window
Download (untitled) / with headers
text/plain 368b
I'm developing cross platform GUI apps for which I needed retina display support on OS X. This is pretty much done since wxWidgets 2.9.5 but wxPerl unfortunately missing the crucial window->GetContentScaleFactor() method which is needed to identify if we're on a retina display or not. I've attached a patch which adds this missing method to the Wx::Window interface.
Subject: WxWindow.patch
Download WxWindow.patch
text/x-diff 299b
--- Wx-0.9923\Window.xs 2014-03-08 13:01:41.000000000 +0100 +++ Wx-0.9923.patched\Window.xs 2014-06-02 16:56:07.644314600 +0200 @@ -647,6 +647,13 @@ #endif +# if WXPERL_W_VERSION_GE( 2, 9, 5 ) + +double +wxWindow::GetContentScaleFactor() + +#endif + #if WXPERL_W_VERSION_GE( 2, 5, 3 ) void


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.