Search found 123 matches

by tiwag
Mon Oct 09, 2006 12:40 pm
Forum: C++ Development
Topic: Dll App and Events
Replies: 14
Views: 1679

instead of defining void ButtonClick(wxEvent& event); void LButtonClick(wxEvent& event); void CButtonClick(wxEvent& event); you need to define them as void ButtonClick(wxCommandEvent& event); void LButtonClick(wxCommandEvent& event); void CButtonClick(wxCommandEvent& event); also changed the CreateF...
by tiwag
Sun Sep 03, 2006 7:40 am
Forum: Compiler / Linking / IDE Related
Topic: Where to get wx 2.4?
Replies: 1
Views: 387

by tiwag
Sun Sep 03, 2006 7:39 am
Forum: Compiler / Linking / IDE Related
Topic: MinGW Compilation Woes
Replies: 2
Views: 524

Re: Problem Solved!

BinaryTracks wrote: I get a ton of warnings however.... type attributes are honored only at type definition
unfortunately this is "normal" when compiling wxWidgets,
obviously the devs don't care about this problem,
it exists since several years now ...
by tiwag
Fri Sep 01, 2006 5:28 pm
Forum: Compiler / Linking / IDE Related
Topic: How to compile the wxwidgets for debug and release mode..???
Replies: 2
Views: 1249

Re: How to compile the wxwidgets for debug and release mode.

Now..my problem is that on "Build target" I only have the option "all" and I dont have any option for "Debug" or "Release" mode... so..my cuestion are: 1- According to the Guide the compile process is using this command line: make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICOD...
by tiwag
Fri Sep 01, 2006 5:14 am
Forum: C++ Development
Topic: Serial Communication using wxCTB
Replies: 1
Views: 1437

Here you have a small ctb-test for wxctb-0.8 where you can see all settings and basic commands how to send & receive something over serial port ... #include "wx/ctb/serport.h" #include "wx/ctb/timer.h" #include <stdio.h> wxBaud baudrate = wxBAUD_38400; char *devname = wxCOM1; int timeout = 250; int ...
by tiwag
Wed Aug 23, 2006 4:09 pm
Forum: wxDev-C++
Topic: WxDevCpp and CodeBlocks
Replies: 1
Views: 561

dev-cpp is a ide codeblocks is a ide mingw gcc is a compiler with codeblocks you can use many compilers also you can use the already by devcpp installed MinGW gcc compiler with codeblocks, without breaking anything. you just need to set the path to (base directory?)\MingW\bin in the "compiler settin...
by tiwag
Wed Aug 23, 2006 4:02 pm
Forum: wxDev-C++
Topic: Using DLLs
Replies: 2
Views: 648

first you need to build wxwidgets with SHARED=1

then you need to add the additional commandline option

Code: Select all

-DWXUSINGDLL 
in
Project Options -> Parameters -> C++

and update your entries in
Project Options -> Directories -> ...

as well so that the linker can find your wx-shared-library
by tiwag
Tue Aug 22, 2006 8:08 am
Forum: C++ Development
Topic: Problems linking with Unicode enabled (Solved!)
Replies: 4
Views: 872

wxregexud.lib - is Debug unicode
by tiwag
Mon Aug 07, 2006 6:01 pm
Forum: wxDev-C++
Topic: Help please! How to get directories?
Replies: 7
Views: 950

Hi Scott - nice idea ! after a bit *tweaking*, it really works (tested) #include <wx/wx.h> #include <wx/dir.h> #include <wx/arrstr.h> class wxMyDirTraverser : public wxDirTraverser { public: wxMyDirTraverser(wxArrayString& files, wxArrayString& dirs) : m_files(files), m_dirs(dirs) { } virtual wxDirT...
by tiwag
Mon Aug 07, 2006 2:49 pm
Forum: Compiler / Linking / IDE Related
Topic: Error compiling with MinGW and msys1.0
Replies: 12
Views: 2535

Unfortunatly, I have this error when I try to compil with your bat file. :( it works, just be sure, that you don't use msys ! deinstall msys (or delete all folders) deinstall MinGw (or delete all folders) clean your PATH variable install MinGW from the installer 5.0.3 http://prdownloads.sourceforge...
by tiwag
Mon Aug 07, 2006 1:01 pm
Forum: Compiler / Linking / IDE Related
Topic: Error compiling with MinGW and msys1.0
Replies: 12
Views: 2535

dedesite wrote:Hi,
... I can't find mingw make V3.80, it's not on MinGw web site ...
it is there - you need new glasses :P

http://prdownloads.sf.net/mingw/mingw32 ... e?download
by tiwag
Mon Aug 07, 2006 9:01 am
Forum: Compiler / Linking / IDE Related
Topic: Error compiling with MinGW and msys1.0
Replies: 12
Views: 2535

this cannot work, you try to make a win32-makefile, with msys you can only make unix-makefiles. if you download wxMSW, you have in your wx\build\msw folder a makefile.gcc which builds only with the mingw32-make.exe deinstall (or do not use) msys, download the mingw make V3.80, install it for example...
by tiwag
Wed Aug 02, 2006 1:34 pm
Forum: C++ Development
Topic: reading serial port
Replies: 10
Views: 1942

the wxCTB library works very well, i use it for all my serial port communication programs. despite the name, the wxCTB library itself does not need wxWidgets to build and use, but it can of course be used together with wxWidgets. if you are interested, you can download a Code::Blocks project file to...
by tiwag
Fri Jun 23, 2006 12:41 pm
Forum: C++ Development
Topic: wxCTB issues...
Replies: 5
Views: 2307

did you add -lwxCtb to your link libraries ?
by tiwag
Wed Feb 22, 2006 10:19 am
Forum: C++ Development
Topic: equivalent function to inet_addr()
Replies: 4
Views: 1065

IPAddress() returns 0.0.0.0 but not the actual IPAddress of the machine. you have to set the Hostname to your wxIPV4address before getting the IPaddress then it works void MyFrame::OnMyIP(wxCommandEvent& event) { wxIPV4address addr; wxString myhn = addr.Hostname(); // get my Hostname wxString addr2...