Search found 123 matches

by tiwag
Mon Oct 30, 2006 4:32 pm
Forum: Compiler / Linking / IDE Related
Topic: wxAUI and Linux
Replies: 15
Views: 2983

check, if you have in every included file a newline at the end of file
by tiwag
Mon Oct 30, 2006 9:17 am
Forum: Compiler / Linking / IDE Related
Topic: wxAUI and Linux
Replies: 15
Views: 2983

the compiler error means clearly, that wxFrameManager isn't defined,
so try to include the aui.h file and look if it compiles then.

maybe you have another "global.h" in your compilers include directories which is found and don't include the "aui.h"
by tiwag
Fri Oct 27, 2006 6:34 am
Forum: C++ Development
Topic: Button styles
Replies: 2
Views: 1762

if you add a resource file to your project, which includes wx/msw/wx.rc

e.g. wxApp.rc

Code: Select all

aaaaaaaa ICON "myAppIcon.ico"
#include "wx/msw/wx.rc"
then the manifest info will be included in the resource by default.
(can be switched off by some preprocesser macro if you don't like it)

brgds
by tiwag
Fri Oct 27, 2006 6:20 am
Forum: C++ Development
Topic: No console window.
Replies: 2
Views: 928

i don't use cygwin but MinGW gcc,
so i'm not 100% shure if it works for you, but i guess it does 8)

if you give the linker option -mwindows
a win app is built which doesn't produce a console window.

brgds
by tiwag
Mon Oct 23, 2006 11:19 am
Forum: wxCode
Topic: wxPlotCtrl compile trouble
Replies: 2
Views: 1377

Re: wxPlotCtrl compile trouble

you need also to build wxThings in order to build wxPlotCtrl ... but ... MathPlot which seems outdated and doesn't compile here you can dl a project (using CodeBlocks) which builds wxMathPlot fine http://tiwag.googlecode.com/svn/binaries/wxMathPlot_TestPlot.tgz see also there http://forums.wxwidgets...
by tiwag
Fri Oct 20, 2006 2:20 pm
Forum: wxDev-C++
Topic: Future of wxDev-c++?
Replies: 11
Views: 2404

Actually, we have the hooks in for Digital Mars, but it's not yet officially supported. ... We really haven't taken the time to thoroughly play with DMars to make it as easy to use as the rest of the IDE. It will make it into 6.11. (And my initial tests show it to be REALLY fast. I'd prefer it to M...
by tiwag
Fri Oct 20, 2006 11:03 am
Forum: Compiler / Linking / IDE Related
Topic: SOLVED : wxMathPlot compiling on Linux
Replies: 3
Views: 1799

here you can download a project
which builds wxMathPlot as static library
and Testplot which uses it
http://tiwag.googlecode.com/svn/binarie ... stPlot.tgz


builds and runs fine in linux and windows (when using wx-config-win)
http://code.google.com/p/wx-config-win/

brgds
by tiwag
Thu Oct 19, 2006 6:07 pm
Forum: C++ Development
Topic: Problem compiling a WXwidgets application
Replies: 3
Views: 743

this works, //headers & declarations #include <wx/wx.h> #include <stdio.h> //"console" like main int xxmain(int argc, char** argv) { printf(" %3d : %s \n", argc, argv[0]); wxMessageBox(argv[0]); return argc+20; } //wxapp class MyApp: public wxApp { virtual int OnRun(); }; IMPLEMENT_APP(MyApp) int My...
by tiwag
Thu Oct 19, 2006 7:13 am
Forum: wxDev-C++
Topic: Sugestions to improve compiling/linking time
Replies: 9
Views: 1478

upCASE wrote:Hi!
If mingw would support precompiled headers this would result in faster builds. Does anybody know if or when they'll support that?
pch works fine already with MinGW gcc >= 3.4.2

the main problem is the poor linking performance of MinGW ld when using static libraries.
by tiwag
Thu Oct 19, 2006 6:55 am
Forum: Compiler / Linking / IDE Related
Topic: c:\wxWidgets-2.6.3\include\wx\longlong.h(169) : warning C424
Replies: 14
Views: 3137

hi dave it's good, that you found your solution, I consider this issue a "slight bug" in wx 2.6.3. your compiler is right with this warning, it depends on the warning-level. check your documentation of VC6 about all the switches and i'm shure, that there is one, which controls the behaviour. since i...
by tiwag
Thu Oct 19, 2006 6:45 am
Forum: wxDev-C++
Topic: A question or two regarding wxCTB
Replies: 5
Views: 1182

... This line is better written as receivedBytes[rd] = '0'; this is not a good advice, and will obviously not work. because code 0 (0x00) is necessary for zero terminated strings as expected in a char* buffer... and code of '0' is never defined as 0x00 ( e.g. 0x30 in ANSI char set) assuming the buf...
by tiwag
Thu Oct 19, 2006 12:11 am
Forum: wxDev-C++
Topic: Sugestions to improve compiling/linking time
Replies: 9
Views: 1478

lowjoel wrote:compile wxWidgets as a DLL, it will increase your link time
decrease !
by tiwag
Thu Oct 19, 2006 12:10 am
Forum: Compiler / Linking / IDE Related
Topic: c:\wxWidgets-2.6.3\include\wx\longlong.h(169) : warning C424
Replies: 14
Views: 3137

@doublemax - do you think the above is only an issue of some 64bit code warning flag, which can (maybe) turned off in VC6 ?
by tiwag
Wed Oct 18, 2006 10:05 pm
Forum: Compiler / Linking / IDE Related
Topic: c:\wxWidgets-2.6.3\include\wx\longlong.h(169) : warning C424
Replies: 14
Views: 3137

dave, can you run the program and post the output here something like wxABI_VERSION = 20699 wxVERSION_STRING = wxWidgets 2.6.3 also i don't know where VC6 stores all the commandline flags ands options, this would be needed also in order to find the reason. VS2003 produces some html file, where the e...
by tiwag
Tue Oct 17, 2006 11:21 am
Forum: The Code Dump
Topic: wxFlatMenu & wxFlatMenuBar
Replies: 110
Views: 39781

Does the menu always appear on primary monitor (in my implementation, menu is a child of the desktop)? YES If the answer is yes, does the following is a valid solution: - Query a system about number of monitors - Query the main window on which monitor it is shown (is this feasible??) - if appliocat...