Search found 15 matches

by akkumar
Sat Sep 18, 2004 5:48 am
Forum: C++ Development
Topic: wxGLContext example in a wxGLCanvas
Replies: 1
Views: 1649

wxGLContext example in a wxGLCanvas

I was going thru' the constructor of wxGLCanvas and came across this third overloaded form . void wxGLCanvas(wxWindow* parent, wxGLContext* sharedContext = NULL, wxWindowID id = -1, const wxPoint& pos, const wxSize& size, long style=0, const wxString& name="GLCanvas", int* attribList = 0, const wxPa...
by akkumar
Fri Sep 17, 2004 11:07 pm
Forum: C++ Development
Topic: Reducing the size of the wxWidgets app. executable
Replies: 5
Views: 2062

Reducing the size of the wxWidgets app. executable

Hi, Right now, the application size of my trivial wxWidgets app ( just a frame , containing a canvas and making it visible ) is about 5MB . I was wondering if there is any way we can reduce this app. size. The linking options that I am having are - -mwindows -lwxmsw25d -lwxregexd -lwxpngd -lwxjpegd ...
by akkumar
Mon Sep 13, 2004 4:11 am
Forum: Component Writing
Topic: Custom Event Handlers - value of variable - Example
Replies: 7
Views: 2894

Thanks Ryan for the detailed help and design suggestions
by akkumar
Mon Sep 13, 2004 2:09 am
Forum: Compiler / Linking / IDE Related
Topic: Devcpp guide needs to be updated
Replies: 2
Views: 1451

Devcpp guide needs to be updated

The dev-cpp guide avaiable here at this URL http://www.wxwidgets.org/devcpp.htm corresponds to the wxWindows -2.4.2 codeline (I mean, the name of the libraries). wxWidgets - 2.5.2 has got different naming conventions for the libraries. So it would be nice if that document is updated with regard to t...
by akkumar
Mon Sep 13, 2004 1:58 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Replies: 8
Views: 2781

Yes. It did compile successfully. But just a point to the developers here, the page http://www.wxwidgets.org/dl_msw2.htm says we might need a Extra.zip for building wxwindows. While that is true, ( we need the executables, cp.exe - rm.exe exe ) , the make.exe that comes bundled with that Extra.zip s...
by akkumar
Mon Sep 13, 2004 1:32 am
Forum: Component Writing
Topic: Custom Event Handlers - value of variable - Example
Replies: 7
Views: 2894

Re: Custom Event Handlers - value of variable - Example

If I change the data, I would like to invoke a custom event, that would be handled by the different GUI objects and they would take action appropriately( say, repaint themselves ..) . I'm not sure an event is the best idea for what you are trying to achieve - a timer would probably work better. I w...
by akkumar
Mon Sep 13, 2004 1:28 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Replies: 8
Views: 2781

I recall this being brought up a few times on the lists. For now though you can add $WXFOLDER$\include to your PATH environment variable. Thanks for that though. The problem though actually seems with the 'make' utility that is mentioned in that file - Extra.zip , that I had downloaded as per the i...
by akkumar
Mon Sep 13, 2004 12:22 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Replies: 8
Views: 2781

I donno if i would try it on MSYS. Since I dont want the POSIX compatibility layer API when compiling my applications. That is the reason, I want to natively compile my applications.
by akkumar
Sun Sep 12, 2004 11:00 pm
Forum: Component Writing
Topic: Custom Event Handlers - value of variable - Example
Replies: 7
Views: 2894

Custom Event Handlers - value of variable - Example

Hi, I have a scenario wherein a set of data is being shared by different GUI objects. If I change the data, I would like to invoke a custom event, that would be handled by the different GUI objects and they would take action appropriately( say, repaint themselves ..) . How could I implement the same...
by akkumar
Sun Sep 12, 2004 10:07 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Replies: 8
Views: 2781

Have you checked if that wx/wxchar.h is in one of the include-locations? gcc -c -o gcc_mswd\wxregex_regcomp.o -g -O0 -DHAVE_W32API_H -I..\..\include -I. .\..\lib\gcc_lib\mswd ../../src/regex/regcomp.c Checed for ..\..\include, Yeah. of course, it is. C:\Programs\wxWidgets-2.5.2\build\msw>dir ..\..\...
by akkumar
Sun Sep 12, 2004 6:42 am
Forum: General Development
Topic: MDI Interface obsolete ?
Replies: 2
Views: 1623

MDI Interface obsolete ?

I was going thru the documetnation of MDI Interface - wxMDIParentFrame etc and came across this line - "MDI remains popular despite dire warnings from Microsoft itself that MDI is an obsolete user interface style." Pretty surprised to see this . If MDI is obsolete, what are the other interesting cor...
by akkumar
Sun Sep 12, 2004 6:11 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Replies: 8
Views: 2781

I am adding the version info of Make too here -

C:\Programs\wxWidgets-2.5.2\build\msw>make --version
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
by akkumar
Sun Sep 12, 2004 6:08 am
Forum: Compiler / Linking / IDE Related
Topic: wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Replies: 8
Views: 2781

wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !

Hi, I downloaded a fresh build of wxWidgets-2.5.2 and was trying to compile the same on my platform. gcc (GCC) 3.3.1 (mingw special 20030804-1) WinXP SP 2. As per the documentation ( WXDIR/docs/msw/install.txt ) , I went to the directory WXDIR/build/msw and invoked the makefile as follows. <-- Build...
by akkumar
Sun Sep 12, 2004 5:34 am
Forum: C++ Development
Topic: wxwindows MDI Eg: clarification
Replies: 3
Views: 1567

But when I try to access the child window after closing the child window, I get a seg. fault. The scenario I have is :- * Two child windows each having a wxGLCanvas in them. * The child windows may be closed but I dont want them to be destroyed from memory . I would like to 'hide' the window when it...
by akkumar
Sat Sep 11, 2004 8:40 pm
Forum: C++ Development
Topic: wxwindows MDI Eg: clarification
Replies: 3
Views: 1567

wxwindows MDI Eg: clarification

Hi, I was going through the example MDI program ( in $WXDIR/samples/mdi directory). <-- Begin code fragment --> void MyFrame::OnNewWindow(wxCommandEvent& WXUNUSED(event) ) { // Make another frame, containing a canvas MyChild *subframe = new MyChild(frame, _T("Canvas Frame"), wxPoint(-1, -1), wxSize(...