Search found 25 matches

by jdratlif
Thu Sep 10, 2009 4:31 am
Forum: Platform Related Issues
Topic: testing mac os x version
Replies: 2
Views: 708

That looks promising. I was try it out when I get back home.

Thanks.
by jdratlif
Tue Sep 08, 2009 10:31 pm
Forum: Platform Related Issues
Topic: testing mac os x version
Replies: 2
Views: 708

testing mac os x version

FileZilla recently added some power management code which uses Leopard (10.5) specific APIs which are not available on Tiger (10.4) and earlier. Is there a way to test for the version of OS X. Perhaps a test on MACOSX_DEPLOYMENT_TARGET? I found the Availability Macros, but they seem geared towards f...
by jdratlif
Tue Oct 19, 2004 4:28 pm
Forum: C++ Development
Topic: opening WHOLE binary files ?
Replies: 3
Views: 1832

hi, thanx for answering. Well, I'm 100 % unshure about the following, cause I didn't ever cross compile: My idea was to take the wx functionality of the file opening procedure, to vounch for crosscompilability (handling newline commands or just paths). Maybe I do some overhead, but I thought of get...
by jdratlif
Tue Oct 19, 2004 2:07 pm
Forum: C++ Development
Topic: opening WHOLE binary files ?
Replies: 3
Views: 1832

Re: opening WHOLE binary files ?

Hi, got a problem in opening binary files, alike if wxFileInputStream or wxFFile, it will break with the "space" (ASCII: Dez: 32, Hex: 20). Even mode = "b" (for wxFFile), as told in http://www.wxwidgets.org/manuals/2.5.2/wx_wxffile.html#wxffileconstr does not work! Any ideas for an unexperianced? T...
by jdratlif
Wed Oct 13, 2004 6:11 pm
Forum: C++ Development
Topic: newbie question -- compiling on windows
Replies: 8
Views: 2350

$ ../configure --with-msw --enable-unicode --disable-debug --disable-shared --disable-compat24 --enable-optimise hmmm.. Should that be a bug? --enable-optimise? Shouldn't it be "--enable-optimize"? :-) If you would do "configure --help", you will find that it actually *is* --enable-optimise ;) I kn...
by jdratlif
Wed Oct 13, 2004 3:12 pm
Forum: C++ Development
Topic: newbie question -- compiling on windows
Replies: 8
Views: 2350

Avi wrote:

Code: Select all

$ ../configure --with-msw --enable-unicode --disable-debug --disable-shared --disable-compat24 --enable-optimise
hmmm.. Should that be a bug? --enable-optimise?

Shouldn't it be "--enable-optimize"? :-)
by jdratlif
Wed Oct 13, 2004 2:23 pm
Forum: C++ Development
Topic: newbie question -- compiling on windows
Replies: 8
Views: 2350

I think that you would love using MSYS then... I configure my wxWidgets using the following configure commands: $ ../configure --with-msw --enable-unicode --disable-debug --disable-shared --disable-compat24 --enable-optimise $ make $ make install This will generate a non-debug, static, optimized, a...
by jdratlif
Wed Oct 13, 2004 2:19 pm
Forum: General Development
Topic: drag and drop
Replies: 4
Views: 2089

The event macro you're searching for is: EVT_DROP_FILES BEGIN_EVENT_TABLE(CHTTextControl : public wxTextCtrl) EVT_DROP_FILES(CHTTextControl :: OnDropFiles) END_EVENT_TABLE() I've actually never tried that method, I'm using the wxTextDropTarget class and SetDropTarget function of wxWindows class but...
by jdratlif
Wed Oct 13, 2004 1:22 am
Forum: C++ Development
Topic: newbie question -- compiling on windows
Replies: 8
Views: 2350

thanks jdratlif I tried recompiling using config and managed to get some response from wx-config. The only problem I have now is the curse of the billion warning messages. I tried the command line as indicated and get no compiled executable. I thought this was just my inability to write C++, but I ...
by jdratlif
Tue Oct 12, 2004 6:00 pm
Forum: C++ Development
Topic: 1,000,000,000,000,000,000,000,000,000 Compiler Warnings
Replies: 14
Views: 3502

Including wx/wx.h does not include wx/regex.h. Is this the way it is meant to be? Indeed it looks like it should, I will check it, thanks! I also found that wx/wx.h doesn't include wx/dnd.h. My new DnD version had to include this header when extending a drop target. However, DnD is not supported un...
by jdratlif
Tue Oct 12, 2004 3:06 pm
Forum: C++ Development
Topic: Help compiling with bcc55 free compiler
Replies: 6
Views: 2101

Re: Help compiling with bcc55 free compiler

Hello, I hacked this application with wxWidgets (gtk) under linux (very dirty work, but hey! it works, sort of). To compile this application I use a makefile like this --- INCLUDES=-I. -I/usr/lib/wx/include/gtk2u-2.4 CFLAGS=-Wall -g -Werror -pipe WXDEFINES=-DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_O...
by jdratlif
Tue Oct 12, 2004 3:04 pm
Forum: C++ Development
Topic: Help compiling with bcc55 free compiler
Replies: 6
Views: 2101

Re: Help compiling with bcc55 free compiler

Hello Please, do not post the same questions to wx-users mailing list/news group and this forum. Thanks in advance, ABX I agree. I want the mailing lists to go away. That won't happen if people keep using them. God I hate mailing lists. phpBB is superior in every way (or at least in every way that ...
by jdratlif
Tue Oct 12, 2004 3:01 pm
Forum: General Development
Topic: drag and drop
Replies: 4
Views: 2089

I think you need this line at the bottom of your class: DECLARE_EVENT_TABLE() ... and in the .cpp file, there should be something like this: BEGIN_EVENT_TABLE(CHTTextControl : public wxTextCtrl) EVT_blablabla_EVENTS(CHTTextControl :: OnDropFiles) END_EVENT_TABLE() I want to try this, but what kind ...
by jdratlif
Tue Oct 12, 2004 2:28 pm
Forum: C++ Development
Topic: 1,000,000,000,000,000,000,000,000,000 Compiler Warnings
Replies: 14
Views: 3502

mingw. gcc 3.4.2 (and g++ 3.4.2) mingw runtime 3.5 With configure or with makefile ? ./configure --prefix=/mingw && make && make install I include all my headers like this: #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif I even tested that WX_PRECOMP was defined by adding an #er...
by jdratlif
Tue Oct 12, 2004 1:30 pm
Forum: C++ Development
Topic: 1,000,000,000,000,000,000,000,000,000 Compiler Warnings
Replies: 14
Views: 3502

Okay. mingw. gcc 3.4.2 (and g++ 3.4.2) mingw runtime 3.5 I include all my headers like this: #include <wx/wxprec.h> #ifndef WX_PRECOMP #include <wx/wx.h> #endif I even tested that WX_PRECOMP was defined by adding an #error inside the ifndef. That error never came up, therefore, it must be using the ...