Search found 27 matches

by BeerSmith
Tue Apr 13, 2021 5:10 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina

OK, After trying several different things I found a solution today: Needed to add OSX specific code to call wxMenuBar::MacSetCommonMenuBar(bar) to the frame initialization. Older versions worked just fine when I set the menu bar as part of the wxFrame creation, but apparently under the last three bu...
by BeerSmith
Mon Apr 12, 2021 11:33 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina

Quick update - created a new target in the same project (per one suggestion in thread above) and got it to compile - still no menu bar.
by BeerSmith
Mon Apr 12, 2021 10:53 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina and Big Sur

I know this is an old post but the problem persists. Surely there is some way to build an OSX app that has the menu bar show up? I did try the suggestion above of adding a new target in XCode but have not been able to associate everything with the new target properly so it will build. The older targ...
by BeerSmith
Sat May 23, 2020 3:02 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina

Can you walk me through the basic steps to create the new target in XCode? I'm interested in trying this solution.
by BeerSmith
Tue Apr 21, 2020 7:07 pm
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina

Ok, I tried recompiling wx 3.1.3 and my app with XCode 10.3 (SDK 10.14, min version 10.9) the problem persists. The menu bar is being set for the main frame (I walked through the menu building code) but it is not showing up when the frame is shown. Next I'm going to build a super simple menu and see...
by BeerSmith
Tue Apr 21, 2020 3:52 am
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina

Hi, - Yes I'm building an application bundle - The deployment target is currently 10.9 but I could go higher - I'm apparently running 10.14.6 Mojave (thought it was Catalina) but built wx and the app with XCode 11.3.1 and the 10.15 SDK - I just downloaded the older XCode 11.3 so I can recompile wx 3...
by BeerSmith
Tue Apr 21, 2020 12:47 am
Forum: Platform Related Issues
Topic: MenuBar in macOS Catalina
Replies: 44
Views: 17797

Re: MenuBar in macOS Catalina

Has anyone made any progress on this?

I'm running into this exact problem compiling an app using wx 3.1.3 with OSX 10.15 SDK under Catalina.
by BeerSmith
Sat Jun 23, 2018 10:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets with Newer Webkit2Gtk Libs Ubuntu
Replies: 5
Views: 2162

Re: Compiling wxWidgets with Newer Webkit2Gtk Libs Ubuntu

You were right - I was missing the "--with-gtk=3" flag on the configure. If I use the following: ../configure --with-gtk=3 --disable-shared --enable-debug --enable-webview it appears to be picking up the correct libwebkit2gtk-4.0-dev libraries now when I build it. I had read somewhere that...
by BeerSmith
Sat Jun 23, 2018 9:04 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets with Newer Webkit2Gtk Libs Ubuntu
Replies: 5
Views: 2162

Re: Compiling wxWidgets with Newer Webkit2Gtk Libs Ubuntu

AFAIK you just need libwebkitgtk-dev and its dependencies. I just tried that and unfortunately that configures it to build with the libwebkitgtk-1.0 build, which is obsolete on most LInux systems. The libwebkitgtk-dev build is apparently 1.0 based and in fact it downloads the 1.0 library when I ins...
by BeerSmith
Sat Jun 23, 2018 7:16 pm
Forum: Compiler / Linking / IDE Related
Topic: Compiling wxWidgets with Newer Webkit2Gtk Libs Ubuntu
Replies: 5
Views: 2162

Compiling wxWidgets with Newer Webkit2Gtk Libs Ubuntu

The release notes for wxWidgets 3.0.4 has the following note in it: In wxGTK: - Allow using more recent WebKit2GTK+ in wxWebView (Scott Talbert). I'm trying very hard to get wxWidgets compiled without using the old libwebkit-1.0 library which many platforms no longer support. So I'm trying to config...
by BeerSmith
Thu Apr 26, 2018 12:16 am
Forum: Platform Related Issues
Topic: Retina Support for Mac
Replies: 6
Views: 2751

Retina Support for Mac

I've researched this but really don't understand how to incorporate Retina support for various size icons into my program. Currently my icons are fuzzy when I go to a Retina display on Mac. Currently at startup I load all of my icons as images from png files using wxImage::LoadFile() and then conver...
by BeerSmith
Tue Jul 26, 2016 5:34 pm
Forum: Compiler / Linking / IDE Related
Topic: [Solved] wxWebkit linking wxWidgets 3.1 under Ubuntu 16-04
Replies: 1
Views: 1312

Re: wxWebkit linking wxWidgets 3.1 under Ubuntu 16-04

OK - I solved it - the missing load flag is "-lwebkitgtk-1.0" if anyone else runs into this problem!
by BeerSmith
Tue Jul 26, 2016 4:56 pm
Forum: Compiler / Linking / IDE Related
Topic: [Solved] wxWebkit linking wxWidgets 3.1 under Ubuntu 16-04
Replies: 1
Views: 1312

[Solved] wxWebkit linking wxWidgets 3.1 under Ubuntu 16-04

Trying to build a wxWebkit application under Ubuntu 16-04 using wxWidgets 3.1 and I get webkit linking errors when doing the final load of all libraries. It looks like I'm missing a load flag here for the libwebkitgtk library but I don't know what the flag might be? I have libgtk-3-dev and libwebkit...
by BeerSmith
Mon Jun 20, 2016 4:13 pm
Forum: Platform Related Issues
Topic: MSW wxListCtrl Column Reordering
Replies: 4
Views: 2034

Re: MSW wxListCtrl Column Reordering

Yes, I already thought of capturing the order on destruction/close of the control. Unfortunately this does not cover the case where the person reorders a view and then opens another view before the first one is closed - as my app supports multiple tabs/views open at the same time. I don't think I ne...
by BeerSmith
Mon Jun 20, 2016 4:10 pm
Forum: Platform Related Issues
Topic: OSX Retina Support
Replies: 3
Views: 1725

Re: OSX Retina Support

A quick follow up - is the correct file name "pict.png" and "[email protected]" or is it "[email protected]"?

Brad