Search found 172 matches

by gtafan
Fri Jan 10, 2020 11:32 am
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 1771

Re: good and simple to use IDE for wxWidgets based applications?

Hi, VS Community is free, even for commercial use, it just requires you to register it. The only limitation of the licence is that you're not allowed to link the CRTs statically. If you don't need a graphical GUI designer and can live with a Windows only solution, i think VS is still be best choice...
by gtafan
Mon Jan 06, 2020 1:11 pm
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 1771

Re: good and simple to use IDE for wxWidgets based applications?

Hi, However even with all that small disadvantages CodeBlocks was still the best posible solution, but since 2 years there are no CodeBlocks releases, which means at least for me it´s dead. This is not entirely true. C::B Nighly are constantly being built. See this forum link . Dunno why they do no...
by gtafan
Mon Jan 06, 2020 1:05 pm
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 1771

Re: good and simple to use IDE for wxWidgets based applications?

VS wouldn´t be a solution, since the only way to get it is iligal. VS Community is free, even for commercial use, it just requires you to register it. The only limitation of the licence is that you're not allowed to link the CRTs statically. If you don't need a graphical GUI designer and can live w...
by gtafan
Fri Dec 20, 2019 12:08 pm
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 1771

good and simple to use IDE for wxWidgets based applications?

I started developing wxWidgets based applications with wxDev many years ago and it was realy the best IDE for such purpose, but unfortunatelly DevCpp died, so I had to change to CodeBlocks. CodeBlocks is defenetly not as easy to use as wxDev, specially at he begining, where you have to build wxWidge...
by gtafan
Tue Oct 29, 2019 11:52 am
Forum: Compiler / Linking / IDE Related
Topic: problem with wxGLCanvas
Replies: 11
Views: 1317

Re: problem with wxGLCanvas

doublemax wrote:
Mon Oct 28, 2019 2:36 pm
gtafan wrote:
Mon Oct 28, 2019 1:45 pm
Without glut I can´t call glutSwapBuffers, that what I was tallking about.
wxGLCanvas::SwapBuffers()?
https://docs.wxwidgets.org/trunk/classw ... 92cb3a8a18
OK, thanks.
by gtafan
Mon Oct 28, 2019 1:45 pm
Forum: Compiler / Linking / IDE Related
Topic: problem with wxGLCanvas
Replies: 11
Views: 1317

Re: problem with wxGLCanvas

Yes need glut for doublebuffering... I'm not an OpenGL expert, but i find that very hard to believe. My fault sorry, I meaned using doublebuffering for OpenGL rendering. Normally after all the gl comands in the display func, which is more or less an aqivalent of OnPaint in my WxWidgets application,...
by gtafan
Fri Oct 25, 2019 10:19 am
Forum: Compiler / Linking / IDE Related
Topic: problem with wxGLCanvas
Replies: 11
Views: 1317

Re: problem with wxGLCanvas

These are inside the native Windows OpenGL library. Add Opengl32.lib to the input libraries. (The name is probably libopengl32.a for you). Do I also need to add some other .a files if using glu or glut? Only if you need it for your code. AFAIK wxWidgets itself has no dependency to them. Yes need gl...
by gtafan
Thu Oct 24, 2019 10:46 am
Forum: Compiler / Linking / IDE Related
Topic: problem with wxGLCanvas
Replies: 11
Views: 1317

Re: problem with wxGLCanvas

doublemax wrote:
Tue Oct 22, 2019 12:11 pm
These are inside the native Windows OpenGL library. Add Opengl32.lib to the input libraries. (The name is probably libopengl32.a for you).
OK, thanks it works. Do I also need to add some other .a files if using glu or glut?
by gtafan
Tue Oct 22, 2019 10:20 am
Forum: Compiler / Linking / IDE Related
Topic: problem with wxGLCanvas
Replies: 11
Views: 1317

Re: problem with wxGLCanvas

I cheked the wxwidgets folder and _gl.a file is there, but posibly some other .a file is necesary? The file being there is not enough. Do you also link it to your application? OK, you right, it was not linked, but linking it manually doesn´t make it beter, it bekome even worth: C:\wxWidgets-3.0.2\l...
by gtafan
Tue Oct 22, 2019 10:13 am
Forum: C++ Development
Topic: Use OpenGL like wxDC?
Replies: 23
Views: 5441

Re: Use OpenGL like wxDC?

Hi, This thread is 10-years old. Please create a new thread with the specific question. Also, lok at the OpenGL samples and try to follow their code. Thank you. The example here is at least 1000 times beter than OpenGL samples, which in my opinion complete useles for learning something. My question...
by gtafan
Mon Oct 21, 2019 1:50 pm
Forum: C++ Development
Topic: Use OpenGL like wxDC?
Replies: 23
Views: 5441

Re:

You could do that. Rather than derive classes like I indicated in my post, you could do something like: wxGLCanvas* myCanvas = new wxGLCanvas( ... ); wxGLContext* myContext = new wxGLContext( ... ); // then in OnPaint of some dialog/window/whatever myContext->SetCanvas(myCanvas); // do GL drawing s...
by gtafan
Mon Oct 21, 2019 11:22 am
Forum: Compiler / Linking / IDE Related
Topic: problem with wxGLCanvas
Replies: 11
Views: 1317

problem with wxGLCanvas

My code looks like this: GLFrame::GLFrame(wxWindow* parent,wxWindowID id) { Create(parent, id, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxDEFAULT_FRAME_STYLE, _T("id")); BoxSizer1 = new wxBoxSizer(wxHORIZONTAL); int GLCanvasAttributes_1[] = { WX_GL_RGBA, WX_GL_DOUBLEBUFFER, WX_GL_DEPTH_SIZE,...
by gtafan
Fri Oct 18, 2019 10:32 am
Forum: General Development
Topic: Why there is no compiled WxWidgets version?
Replies: 39
Views: 4948

Re: Why there is no compiled WxWidgets version?

Hi. Very strange the GCC-4.9.2-TDM is not there. https://b.radikal.ru/b30/1910/10/a44656d9eb07.jpg The problem is that all "wx-3.0.4" links are related to the same page witch was updated each time. And the last time it has been updated, I didn't made the Gcc-4.9.2-TDM Version. So the really correct...
by gtafan
Wed Oct 16, 2019 9:17 am
Forum: General Development
Topic: Why there is no compiled WxWidgets version?
Replies: 39
Views: 4948

Re: Why there is no compiled WxWidgets version?

Very strange the GCC-4.9.2-TDM is not there.

Image
by gtafan
Thu Jan 24, 2019 1:27 pm
Forum: C++ Development
Topic: problem geting values from TextCtrl
Replies: 5
Views: 607

Re: problem geting values from TextCtrl

I am using wxSmith for creating my wxWidget projects, as doing it manually is a huge pain in the as. That huge "pain" will teach you how to do things, and so how wxSmith works. Get rid of "automagic" tools unless you understand the underlaying "magic". MyPanel is the control I am using to get float...