Search found 17 matches

by Tank2005
Sat Mar 13, 2021 4:29 am
Forum: Compiler / Linking / IDE Related
Topic: Build wxWidgets static libraries for macOS Silicon(arm64)
Replies: 4
Views: 2601

Build wxWidgets static libraries for macOS Silicon(arm64)

My environment is macOS 12.2(Big Sur) on Intel CPU and Xcode 12.4. I want to build wxWidgets 3.1.4 for Apple Silicon as a single static library. I built the libraries for Intal mac(x86_64) from that command from terminal. ../configure --with-osx_cocoa --with-macosx-version-min=10.11 --with-macosx-sd...
by Tank2005
Tue Feb 19, 2013 2:09 pm
Forum: Compiler / Linking / IDE Related
Topic: Trouble debug build with VS2010
Replies: 1
Views: 1047

Trouble debug build with VS2010

I compiled wxWidgets 2.9.4 with Visutal C++ 2010 from "\build\msw\wx_vc9.sln" and write follow code. [code] #include "wx/wx.h" class HelloWorldApp : public wxApp { public: virtual bool OnInit(); }; DECLARE_APP(HelloWorldApp) IMPLEMENT_APP(HelloWorldApp) // This is executed upon s...
by Tank2005
Fri Dec 23, 2011 11:30 am
Forum: Platform Related Issues
Topic: [Mac OS X] Memory error occuered on Photoshop
Replies: 0
Views: 1008

[Mac OS X] Memory error occuered on Photoshop

I'm developing the Photoshop Plugin as mac cocoa bundle with wxMac 2.9. When the program create a wxDialog, class FooDialog : wxDialog { } void sample() { FooDialog dlg(NULL); dlg.ShowDialog(); } Photoshop is crashed with a follow message. Adobe Photoshop CS5[267:a0f] *** attempt to pop an unknown a...
by Tank2005
Sun Jan 23, 2011 7:14 am
Forum: Platform Related Issues
Topic: Create original cursor from XCode resource(wxMac + cocoa)
Replies: 2
Views: 849

I'm going to asking here.
[url]http://groups.google.com/group/wx-users ... b3e7ae1944[/url]
by Tank2005
Wed Jan 19, 2011 3:43 pm
Forum: Platform Related Issues
Topic: Crash when getting the size of control in EVT_SIZE(cocoa)
Replies: 2
Views: 702

I will ask at mailing-list. Thank you.
by Tank2005
Wed Jan 19, 2011 8:33 am
Forum: Platform Related Issues
Topic: Create original cursor from XCode resource(wxMac + cocoa)
Replies: 2
Views: 849

Create original cursor from XCode resource(wxMac + cocoa)

I'm developing software with wxWidgets 2.9.
I want to create wxCursor from original image in resources. I added png files as XCode resources. However, I don't understand coding.

Wrong code sample:
wxCusror mycursor = wxCursor(wxImage("cur_del.png"));

Is there any good idea?
by Tank2005
Wed Jan 19, 2011 3:36 am
Forum: Platform Related Issues
Topic: Crash when getting the size of control in EVT_SIZE(cocoa)
Replies: 2
Views: 702

Crash when getting the size of control in EVT_SIZE(cocoa)

If I am going to get the size of control in the size-change event of a dialog window, a program will crash(EXC_BAD_ACCESS). [code]EVT_SIZE(TestDlg::OnResized) void TestDlg::OnResized(wxSizeEvent &e) { wxRect rc = subcontrol.GetRect(); // Crash }[/code] In neither Windows OS nor a Carbon version,...
by Tank2005
Wed May 12, 2010 7:04 am
Forum: Platform Related Issues
Topic: How to compile wxWidgets without using carbon on mac
Replies: 2
Views: 641

I'm developing Photoshop Plug-in. Since 64bit is a default of Photoshop CS5, I have to fit to it.

There are various problems in the present version, I shelve development of the 64-bit version.
by Tank2005
Tue May 11, 2010 4:42 pm
Forum: Platform Related Issues
Topic: How to compile wxWidgets without using carbon on mac
Replies: 2
Views: 641

How to compile wxWidgets without using carbon on mac

I have tried to make the program corresponding to 64 bits using wxWIdgets2.9.0(with Mac OS 10.5.7, XCode 3). However, since Carbon API is only 32 bits, if Carbon UI is called from 64bit application, this program will crash. Which option should I specify to make the library of only Cocoa? The example...
by Tank2005
Thu Jun 04, 2009 10:32 am
Forum: C++ Development
Topic: How to create resource cursor in DLLs
Replies: 2
Views: 500

Re: How to create resource cursor in DLLs

I solved. Thank you.

By the way, are there any notes of dynamic link library of wxMac?
by Tank2005
Thu Jun 04, 2009 6:09 am
Forum: C++ Development
Topic: How to create resource cursor in DLLs
Replies: 2
Views: 500

How to create resource cursor in DLLs

I'm developing the dynamic-link library. In spite of having registered the cursor image into the resource of dynamic link library, wxCursor fails in obtaining of this data. When a program is compiles not as dynamic link library but as an EXE file, resource cursor can be obtained correctly. Please te...
by Tank2005
Sun Apr 26, 2009 1:21 pm
Forum: C++ Development
Topic: How to get the path of own dynamic link library
Replies: 9
Views: 1505

Because a user can specify arbitrary locations, a dynamic link library file is not necessarily the same location as an executable file.
by Tank2005
Sat Apr 25, 2009 7:48 am
Forum: C++ Development
Topic: How to get the path of own dynamic link library
Replies: 9
Views: 1505

I tried wxStandardPaths.

However, even if I could get the executable file (example.exe) of the ringback the dll file every function, the own library file (example.dll) was not able to be got.
by Tank2005
Fri Apr 24, 2009 11:52 am
Forum: C++ Development
Topic: How to get the path of own dynamic link library
Replies: 9
Views: 1505

How to get the path of own dynamic link library

I'm going to use wxWidget in the dynamic-link library(Windows:dll/Mac:bundle or dylib) and want to refer to the file in the same folder as my dynamic-link library. However, I don't know how to get the path of own dynamic link library only by wxWidget. For example, in the case of Win32 API, the path ...