Search found 88 matches

by idhan
Thu Mar 22, 2007 2:26 pm
Forum: C++ Development
Topic: I can't compile the xrc utility project of wx2.8.2
Replies: 1
Views: 513

I can't compile the xrc utility project of wx2.8.2

Someone can tell me if is possible to open the wxrc project of wxwidgets 2.8.2 utility with visual studio 2005 on windows vista?? I can't open the project, I get the message "Cannot load the project due to a corrupt project file". I can't compile the wxrc utility using the settings of visual studio ...
by idhan
Wed Mar 21, 2007 1:52 pm
Forum: C++ Development
Topic: OpenGL Refresh
Replies: 1
Views: 417

I have used Resfresh() method from wxGLCanvas followed by a Update() and doesn't worked
did you:

1:
Refresh();
Update();

2:
Update();
Refresh();

should be number 2. considering that on Update you modify the opengl rendering settings.
by idhan
Wed Mar 21, 2007 1:21 pm
Forum: C++ Development
Topic: wxGLcanvas problem with wxWindow (wxGTK2.8.2 library error?)
Replies: 8
Views: 1565

you shouldn't use names starting with underscore _ they are usually reserved to the compiler/linker Considering that its compile and run with wxFrame as main windows shoudn't be the problem. To be 100% sure I remove the underscore in the code.. the result is exactly the same. Can you create only a ...
by idhan
Wed Mar 21, 2007 9:44 am
Forum: C++ Development
Topic: wxGLcanvas problem with wxWindow (wxGTK2.8.2 library error?)
Replies: 8
Views: 1565

Hi Auria: the main code more and less is this: "wxclassWindows.h" class wxclassWindows: public wxWindow <- IF I USE WXFRAME INSTEAD OF WXWINDOWS THE PROGRAM RUN { private: ... } "wxclassWindows.cpp" wxclassWindows::wxclassWindows() :wxWindow(NULL,wxID_ANY,wxDefaultPosition,wxDefaultSize,wxRAISED_BOR...
by idhan
Tue Mar 20, 2007 9:24 pm
Forum: C++ Development
Topic: wxGLcanvas problem with wxWindow (wxGTK2.8.2 library error?)
Replies: 8
Views: 1565

Hi, Try to start your project under a debugger and you will see in which place exactly the error takes place. I did write it: Edit1: The last line in execution out of my own code is: At /usr/local/include/wx-2.8/wx/string.h:699 At /usr/local/include/wx-2.8/wx/string.h:368 At /usr/local/include/wx-2....
by idhan
Tue Mar 20, 2007 6:07 pm
Forum: C++ Development
Topic: wxGLcanvas problem with wxWindow (wxGTK2.8.2 library error?)
Replies: 8
Views: 1565

any help?? :(
by idhan
Tue Mar 20, 2007 9:13 am
Forum: C++ Development
Topic: wxGLcanvas problem with wxWindow (wxGTK2.8.2 library error?)
Replies: 8
Views: 1565

wxGLcanvas problem with wxWindow (wxGTK2.8.2 library error?)

Hi, I am using wxGTK2.8.2 on linux kubuntu and my program crash in the follow instruction: glclassMainView::glclassMainView(wxWindow *_Parent) : wxGLCanvas(_Parent,wxID_ANY,wxDefaultPosition,wxDefaultSize,0) { .. } the program crash at the moment of execute wxGLCanvas constructor, the last call stac...
by idhan
Wed Mar 14, 2007 5:47 pm
Forum: C++ Development
Topic: How to remove the caption of a wxframe windows on linux
Replies: 4
Views: 859

yes, that is true, I have many option, I will try for a while and see what happens, if I don't get it, I will take some alternatives.

regards,

idhan.
by idhan
Wed Mar 14, 2007 5:23 pm
Forum: C++ Development
Topic: How to remove the caption of a wxframe windows on linux
Replies: 4
Views: 859

Hi tierra,

Yes, under windows it is possible. I have my program running there without problem, but under linux many thinks are wrong and I working to fix them.

regards,

Idhan.
by idhan
Wed Mar 14, 2007 5:21 pm
Forum: C++ Development
Topic: Rotating a 3-D surface in wx
Replies: 5
Views: 1073

Hi, I cannot figure out how to rotate, zoom in on, or pan across the surface I think you are a bit confuse or I did't get why you want to rotate a surface. You have to change the camera view to zoom and cross the surface. Also depending of the camera motion the surface will "rotate". Normally the su...
by idhan
Wed Mar 14, 2007 4:26 pm
Forum: C++ Development
Topic: How to remove the caption of a wxframe windows on linux
Replies: 4
Views: 859

How to remove the caption of a wxframe windows on linux

Hi, I have an application using wxFrame as main window on MS windows, but without the "caption" option. Basically when I call the constructor wxFrame I pass only wxRESIZE_BORDER as parameter on the windows style and I get what I need. I use wxFrame instead of wxWindows because I use the method ShowF...
by idhan
Wed Mar 14, 2007 3:28 pm
Forum: C++ Development
Topic: problem with SetSize on linux (wxwidget 2.8)
Replies: 2
Views: 525

thanks.. :-)
by idhan
Wed Mar 14, 2007 3:03 pm
Forum: C++ Development
Topic: problem with SetSize on linux (wxwidget 2.8)
Replies: 2
Views: 525

problem with SetSize on linux (wxwidget 2.8)

Hi, I have the follow code under windows that work perfect: void wxclassWindows::OnWindowResize(wxSizeEvent &event) { int iTemporalWidth,iTemporalHeight; iTemporalWidth = event.GetSize().GetWidth(); iTemporalHeight = event.GetSize().GetHeight(); if(iTemporalWidth<iWidthMin || iTemporalHeight<iHeight...
by idhan
Wed Mar 07, 2007 10:28 am
Forum: C++ Development
Topic: opengl+glut problem
Replies: 4
Views: 719

did it work..thanks a lot!!
by idhan
Thu Feb 15, 2007 6:13 pm
Forum: C++ Development
Topic: opengl+glut problem
Replies: 4
Views: 719

any another idea??