Search found 6 matches

by klehocz
Thu Apr 30, 2020 10:21 am
Forum: Platform Related Issues
Topic: Crash at wxStockGDI::GetFont on Mac
Replies: 5
Views: 2856

Re: Crash at wxStockGDI::GetFont on Mac

One theory I had is that this is due to some C++ standard library mixup - libc++ vs libstdc++. I've now tried linking to libc++ statically, also compiling wxWidgets that way, but that didn't make the issue go away (same effect as earlier). I also gave compiling wxWidgets and my plugin with libstdc++...
by klehocz
Tue Apr 21, 2020 4:24 pm
Forum: Platform Related Issues
Topic: Crash at wxStockGDI::GetFont on Mac
Replies: 5
Views: 2856

Re: Crash at wxStockGDI::GetFont on Mac

The code is literally just calling new on a class that was derived from wxFrame, even when I stripped out everything. It appears to crash in wxFrame's constructor. g_pWxFrame=new MainFrame(NULL, g_AppName, wxPoint(0, 0), g_WindowSize); //This is how the wxFrame constuctor is invoked - nothing specia...
by klehocz
Tue Apr 21, 2020 10:54 am
Forum: Compiler / Linking / IDE Related
Topic: _GetApplicationEventTarget Cocoa 64 bit
Replies: 2
Views: 825

Re: _GetApplicationEventTarget Cocoa 64 bit

When I used the provided Xcode project to compile wxWidget, it worked. So, apparently something isn't right with that way of compiling on the command line. I think the article "Compiling wxWidgets using the command-line (Terminal)" in the wiki is outdated, because I tried that, and had the...
by klehocz
Tue Apr 21, 2020 10:29 am
Forum: Platform Related Issues
Topic: Crash at wxStockGDI::GetFont on Mac
Replies: 5
Views: 2856

Re: Crash at wxStockGDI::GetFont on Mac

I see this is a bit old, but I've just hit the same issue. Did you find the cause back then, or some kind of solution? The situation here is the same, except here it's a Photoshop plugin, and I'm on wxWidgets 3.1.3 and testing on High Sierra. The exact same code works fine when compiled as a separat...
by klehocz
Mon Feb 03, 2020 10:21 pm
Forum: Compiler / Linking / IDE Related
Topic: _GetApplicationEventTarget Cocoa 64 bit
Replies: 2
Views: 825

_GetApplicationEventTarget Cocoa 64 bit

Hi! I get a linker error looking for eg. _GetApplicationEventTarget when I try to link a 64 bit macOS version of my software, linking to WxWidgets statically. "_GetApplicationEventTarget", referenced from: wxWindow::RegisterHotKey(int, int, int) in libwx_osx_cocoau_core-3.1.a(corelib_windo...
by klehocz
Thu Sep 24, 2009 4:37 pm
Forum: Compiler / Linking / IDE Related
Topic: Xcode beginner help
Replies: 2
Views: 915

Xcode beginner help

Hi, I'm new to the Mac and I'm trying to compile something I wrote on Windows with wxWidgets using XCode on Mac. I downloaded the actual wxMac package (2.8.10 I believe) and installed it based on the instructions in the Wiki. It compiled fine. When I open mininal.xcodeproject from the samples, I can...