Search found 123 matches
- Mon Oct 09, 2006 12:40 pm
- Forum: C++ Development
- Topic: Dll App and Events
- Replies: 14
- Views: 1978
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...
- Sun Sep 03, 2006 7:40 am
- Forum: Compiler / Linking / IDE Related
- Topic: Where to get wx 2.4?
- Replies: 1
- Views: 449
- Sun Sep 03, 2006 7:39 am
- Forum: Compiler / Linking / IDE Related
- Topic: MinGW Compilation Woes
- Replies: 2
- Views: 585
Re: Problem Solved!
unfortunately this is "normal" when compiling wxWidgets,BinaryTracks wrote: I get a ton of warnings however.... type attributes are honored only at type definition
obviously the devs don't care about this problem,
it exists since several years now ...
- 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: 1426
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...
- Fri Sep 01, 2006 5:14 am
- Forum: C++ Development
- Topic: Serial Communication using wxCTB
- Replies: 1
- Views: 1481
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 ...
- Wed Aug 23, 2006 4:09 pm
- Forum: wxDev-C++
- Topic: WxDevCpp and CodeBlocks
- Replies: 1
- Views: 634
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...
- Wed Aug 23, 2006 4:02 pm
- Forum: wxDev-C++
- Topic: Using DLLs
- Replies: 2
- Views: 745
first you need to build wxwidgets with SHARED=1
then you need to add the additional commandline option 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
then you need to add the additional commandline option
Code: Select all
-DWXUSINGDLL
Project Options -> Parameters -> C++
and update your entries in
Project Options -> Directories -> ...
as well so that the linker can find your wx-shared-library
- Tue Aug 22, 2006 8:08 am
- Forum: C++ Development
- Topic: Problems linking with Unicode enabled (Solved!)
- Replies: 4
- Views: 1002
- Mon Aug 07, 2006 6:01 pm
- Forum: wxDev-C++
- Topic: Help please! How to get directories?
- Replies: 7
- Views: 1103
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...
- Mon Aug 07, 2006 2:49 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Error compiling with MinGW and msys1.0
- Replies: 12
- Views: 2759
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...
- Mon Aug 07, 2006 1:01 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Error compiling with MinGW and msys1.0
- Replies: 12
- Views: 2759
it is there - you need new glassesdedesite wrote:Hi,
... I can't find mingw make V3.80, it's not on MinGw web site ...

http://prdownloads.sf.net/mingw/mingw32 ... e?download
- Mon Aug 07, 2006 9:01 am
- Forum: Compiler / Linking / IDE Related
- Topic: Error compiling with MinGW and msys1.0
- Replies: 12
- Views: 2759
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...
- Wed Aug 02, 2006 1:34 pm
- Forum: C++ Development
- Topic: reading serial port
- Replies: 10
- Views: 2198
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...
- Fri Jun 23, 2006 12:41 pm
- Forum: C++ Development
- Topic: wxCTB issues...
- Replies: 5
- Views: 2471
- Wed Feb 22, 2006 10:19 am
- Forum: C++ Development
- Topic: equivalent function to inet_addr()
- Replies: 4
- Views: 1219
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...