Search found 607 matches

by eranif
Thu Sep 02, 2010 4:23 pm
Forum: Compiler / Linking / IDE Related
Topic: wxGLCanvas compiling problem in simple example
Replies: 16
Views: 5469

FYI:
The wxWidgets that comes with codelite is not compiled with OpenGL

Eran
by eranif
Thu Sep 02, 2010 4:20 pm
Forum: The Code Dump
Topic: wxFlatMenu & wxFlatMenuBar
Replies: 110
Views: 44581

Feel free to use it for commercial product

Eran
by eranif
Thu Aug 19, 2010 6:19 am
Forum: C++ Development
Topic: Squiggly underline for spellcheck
Replies: 4
Views: 962

Depends on your needs.
You can use wxSTC / wxScintilla which supports this feature.

Eran
by eranif
Mon Aug 16, 2010 9:17 pm
Forum: C++ Development
Topic: wxComboPopup open without focus
Replies: 2
Views: 634

You can achieve it various ways, but the best way is to handle the OnFocus event (EVT_SET_FOCUS):

and call GetParent()->SetFocus() in it.

Code: Select all

	
void OnFocus(wxFocusEvent& event) {
	GetParent()->SetFocus();
	event.Skip();
}
Eran
by eranif
Mon Aug 16, 2010 12:18 pm
Forum: The Code Dump
Topic: wxFlatMenu & wxFlatMenuBar
Replies: 110
Views: 44581

by eranif
Sun Aug 15, 2010 6:55 pm
Forum: The Code Dump
Topic: wxFlatMenu & wxFlatMenuBar
Replies: 110
Views: 44581

The sources can be found here: http://codelite.org/downloads/wxflatmenu-src.zip Currently, the only way to compile it is by using codelite IDE (there are also vcproj files for MSVS, but they are outdated) To compile it (Linux / Windows): - Download codelite (for Windows, it is recommended to downloa...
by eranif
Tue Jun 15, 2010 5:46 pm
Forum: The Code Dump
Topic: wxFlatMenu & wxFlatMenuBar
Replies: 110
Views: 44581

Thanks for reporting that the site is going down.

I will upload the sources into my site http://www.codelite.org

and will post here a link when its done

Eran
by eranif
Fri Apr 09, 2010 6:31 am
Forum: Platform Related Issues
Topic: wxMSW styles different with MSVC and MinGW
Replies: 4
Views: 3033

If you mean that you dont get the native XP look n feel it is because you need to add a resource file (.rc) which contains at least the following content:

Code: Select all

#include "wx/msw/wx.rc"
1 24 "wx/msw/wx.manifest"
Eran
by eranif
Sun Apr 04, 2010 11:21 pm
Forum: C++ Development
Topic: Moving wxAuiToolbar
Replies: 8
Views: 1063

the only way to do this is to add the toolbar to the added page itself. Another option, is to create your own class a container class which has a toolbar and make your actual page its child. Something like this: class ContainerWithToolBar : public wxPanel { wxToolBar *m_tb; public: ContainerWithTool...
by eranif
Tue Mar 23, 2010 5:44 pm
Forum: Component Writing
Topic: Toolbox like Gimp
Replies: 6
Views: 3156

So maybe you should consider switching to 2.9.x
or copy the wxWrapSizer (wrapsizer.cpp/h) source files into your project and use it

Eran
by eranif
Tue Mar 16, 2010 7:09 pm
Forum: C++ Development
Topic: wxPopupWindow Problem
Replies: 2
Views: 918

I actually did this exact same thing couple of years ago :) The problem is that this style affects all classes with the same name (when passed to RegisterClass) So you need to Register a new class with new name and then pass it the style Its not easy since you need override some of wxWidgets interna...
by eranif
Sat Mar 13, 2010 11:23 am
Forum: C++ Development
Topic: wxRTC, wxHTML or wxTextCtrl - which fits better here?
Replies: 2
Views: 739

wxRichTextControl was made for such purposes


Eran
by eranif
Sat Mar 13, 2010 10:10 am
Forum: C++ Development
Topic: Console Daemon App
Replies: 13
Views: 2062

If you only require daemon, I would suggest you NOT to use wxWidgets.
The main reason is that the wxWidgets code requires an X server up and running (i.e. you can NOT run/debug it from ssh for example), you will always need to have X server.

Eran
by eranif
Tue Mar 09, 2010 8:49 am
Forum: C++ Development
Topic: wxFlatNotebook where to get it
Replies: 5
Views: 1056

Officially it is stored at SF.

https://sourceforge.net/projects/wxflatnotebook/

Eran