Search found 50 matches

by blizzymadden
Thu Sep 17, 2009 1:24 am
Forum: Compiler / Linking / IDE Related
Topic: How to create a new wxWidgets project on Snow Leopard?
Replies: 9
Views: 1531

I finally got it to work! With wx 2.9, I was able to follow these instructions: http://wiki.wxwidgets.org/Creating_Xcode_projects_for_wxWidgets_applications And got it to run, couldn't be happier. The problem I was having is that XCode doesn't seem to like long path names. I put wx in "/Users/Shared...
by blizzymadden
Wed Sep 16, 2009 11:58 am
Forum: Compiler / Linking / IDE Related
Topic: How to create a new wxWidgets project on Snow Leopard?
Replies: 9
Views: 1531

Re: Not working for me.

I built like so: arch_flags="-arch i386" ./configure --disable-shared --enable-unicode CFLAGS="$arch_flags" CXXFLAGS="$arch_flags" LDFLAGS="$arch_flags" OBJFLAGS="$arch_flags" OBJCXXFLAGS="$arch_flags" Makes just fine, ... Has anyone had success with building an Xcode project from a Cocoa project o...
by blizzymadden
Sat Sep 12, 2009 10:31 pm
Forum: Compiler / Linking / IDE Related
Topic: How to create a new wxWidgets project on Snow Leopard?
Replies: 9
Views: 1531

As i posted in the other thread, you can use pretty much any project, as long as it's an app bundle. So 'cocoa app' will work too. Weird. So, you have had success with this? I guess I will have to try, try again. I delete main.m, and the other .m and .h file, and then add my own main.cpp. That main...
by blizzymadden
Sat Sep 12, 2009 10:12 pm
Forum: Compiler / Linking / IDE Related
Topic: How to create a new wxWidgets project on Snow Leopard?
Replies: 9
Views: 1531

How to create a new wxWidgets project on Snow Leopard?

The Wiki says to start from a new Carbon project when creating a WX project. The problem is, XCode 3.2 (Snow Leopard) no long offers Carbon projects as an option. I tried the same steps with new Cocoa project and always get a "Gcc 4.2 returned exit code 1" error message when I try to build. Anyone e...
by blizzymadden
Sat Sep 12, 2009 10:10 pm
Forum: Compiler / Linking / IDE Related
Topic: Setup from scratch for Mac OS X
Replies: 3
Views: 740

How to with XCode 3.2?

Auria wrote:Yes, check the wiki
The Wiki always says to start from a new Carbon project. The problem is, XCode 3.2 (Snow Leopard) no long offers Carbon projects as an option. I tried with Cocoa and always get a "Gcc 4.2 returned exit code 1" error message when I try to build.
by blizzymadden
Tue Mar 31, 2009 9:26 pm
Forum: wxCode
Topic: Changing menubar color (windows only)
Replies: 5
Views: 2433

papillon68 wrote:What library or include file is needed ? I get this compile error:

cube.cpp(43) : error C2501: 'memset' : missing storage-class or type specifiers
#include <memory>

It's a standard C function.
by blizzymadden
Sat Dec 06, 2008 8:14 pm
Forum: C++ Development
Topic: Why oh why does wxString exist...
Replies: 5
Views: 977

Re: Why oh why does wxString exist...

... and is there an efficient, neat way to convert to std::string? I've been coding in Java for quite a while until recently, had forgotten how virtually every C++ library has its own string class :) std::string and wstring don't have any built in methods of converting unicode to ANSI or UTF-8. wxS...
by blizzymadden
Thu Nov 27, 2008 1:51 pm
Forum: C++ Development
Topic: when wxInitAllImageHandlers() then load .tga error?
Replies: 4
Views: 756

tierra wrote:I'm pretty sure that none of the image handlers supported by wxWidgets support the TARGA image file format.
TARGA files can be loaded by wxWidgets, but you can't save images as TARGA from wxWidgets. Same as GIF files.
by blizzymadden
Mon Nov 17, 2008 10:03 pm
Forum: wxCode
Topic: Changing menubar color (windows only)
Replies: 5
Views: 2433

Changing menubar color (windows only)

Ever wonder how to change the color of your wxMenuBar? Here is how to do it under Windows (do this somewhere inside of your wxDocMDIParentFrame): #ifdef __WXMSW__ MENUINFO menuinfo; std::memset(&menuinfo, 0, sizeof(MENUINFO)); menuinfo.cbSize = sizeof(MENUINFO); menuinfo.fMask = MIM_BACKGROUND; menu...
by blizzymadden
Mon Nov 17, 2008 2:37 pm
Forum: wxCode
Topic: wxCURL where to download?
Replies: 4
Views: 1403

frm wrote:as soon as wx2.9 was out
That may be awhile :P It's been over a year since it was announced. Any day now they say...
by blizzymadden
Sun Nov 16, 2008 3:00 pm
Forum: wxCode
Topic: wxCURL where to download?
Replies: 4
Views: 1403

wxCURL is currently still in Subversion repo only. Me and Casey O'Donnell plan to make a 1.0 RC very soon. If you are interested, you can checkout the sources from SVN. It should be quite stable in all its part for ANSI builds. There are problems with Unicode builds I'm trying to fix. Is there an E...
by blizzymadden
Sun Nov 16, 2008 2:55 pm
Forum: Component Writing
Topic: wxCurl in unicode build
Replies: 5
Views: 3588

Hi Ildar, If you are successfully using wxCurl, I need your help. I'm trying to compile curl_app but I'm missing the file curl.h. The one I got from libcurl website is prompting these errors : d:\wxCURL\include\curl/curl.h(170) : error C2146: syntax error : missing ';' before identifier 'curl_socke...
by blizzymadden
Fri Sep 12, 2008 10:25 pm
Forum: General Development
Topic: change wxMDIParentFrame background color?
Replies: 1
Views: 476

Override the Erase event.
by blizzymadden
Sat Aug 02, 2008 8:54 pm
Forum: C++ Development
Topic: wxSpinCtrl input
Replies: 6
Views: 927

asandler wrote:I also checked controls sample spin control in it behaves in the same manner. I'll try to debug the issue, but in case you already know the answer please post it.
I noticed this too. I think this is a new bug introduced in the very last stable release, it worked before in the last releaase.
by blizzymadden
Sun May 11, 2008 12:35 am
Forum: wxCode
Topic: wxImage::LoadFile with scaling for jpeg images?
Replies: 3
Views: 1080

I agree

I could see that being worthwhile if it offers a solid performance boost. I have a thumbnail program myself that runs into this same problem.