Search found 2918 matches

by ONEEYEMAN
Sat Feb 16, 2019 11:52 pm
Forum: C++ Development
Topic: Strange wxButton issue
Replies: 10
Views: 63

Re: Strange wxButton issue

Hi, What are the event handlers in WndMultiComponentViewer? These are all member functions of the WndMultiComponentViewer class. I discovered while trying to compile under Linux that these should be specified for portability in their entireity as: Bind(<event>, &<class>::<function>, this) I just...
by ONEEYEMAN
Sat Feb 16, 2019 11:32 pm
Forum: C++ Development
Topic: wxrichtextctrl and disappearing cursor
Replies: 4
Views: 46

Re: wxrichtextctrl and disappearing cursor

Hi,
Also check if richtext sample works for you, i.e. the control can get focus and you can type in it after pressing the ALT+TAB.

Thank you.
by ONEEYEMAN
Fri Feb 15, 2019 3:44 pm
Forum: Platform Related Issues
Topic: wxWidgets in a plugin dll
Replies: 1
Views: 34

Re: wxWidgets in a plugin dll

Hi, Welcome to the wonderful wxWidgets world! I think (I may be wrong though), you should use dynamic build of wx. Other than that - what do you mean "access GUI components using events"? What else do you expect? Also - what visual styles you are looking for? Keep in mind that it is possib...
by ONEEYEMAN
Fri Feb 15, 2019 3:30 pm
Forum: C++ Development
Topic: wxrichtextctrl and disappearing cursor
Replies: 4
Views: 46

Re: wxrichtextctrl and disappearing cursor

Hi,
1. What's your wx version?
2. What OS/toolkit?
3. Any special/non-standard option for building wx?
4. Are you using wxRichTextCtrl or wxTextCtrl with TE_RICH{2} style?
5. Can we see some code? Where did you put the SetFocus() call?

Thank you.
by ONEEYEMAN
Wed Feb 13, 2019 5:18 pm
Forum: C++ Development
Topic: Selecting Multiple Items In A wxListBox Without Having To Manually Press Ctrl
Replies: 11
Views: 117

Re: Selecting Multiple Items In A wxListBox Without Having To Manually Press Ctrl

Hi,
The behaviour you want is not supported by GTK (underlying toolkit).

There is nothing that can be done about it unfortunately.

Thank you.

P.S.: You can try to use generic wxListBox to get the behaviour you want...
by ONEEYEMAN
Wed Feb 13, 2019 4:06 pm
Forum: C++ Development
Topic: Crashing on layout
Replies: 2
Views: 33

Re: Crashing on layout

I feel embarrassed. :oops:

Thank you, doublemax.

Sometimes you just need a fresh pair of eyes.
by ONEEYEMAN
Wed Feb 13, 2019 4:05 pm
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]
Replies: 6
Views: 112

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]

Hi, I usually remove the build directory completely and the create it again. Something like cd wxWidgets rm -rf buildGTK mkdir buildGTK ../configure...... && make Remember the build creates the hidden directories which are not removed by "make clean". Why - I don't know. Thank you.
by ONEEYEMAN
Wed Feb 13, 2019 2:07 pm
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]
Replies: 6
Views: 112

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]

Hi,
Just for test - can you create a clean checkout and try to compile?

Thank you.
by ONEEYEMAN
Wed Feb 13, 2019 1:39 pm
Forum: C++ Development
Topic: Crashing on layout
Replies: 2
Views: 33

Crashing on layout

Hi, ALL, FieldGeneral::FieldGeneral(wxWindow *parent) : wxPanel(parent, wxID_ANY) { m_label = new wxStaticText( this, wxID_ANY, _( "&Column comment:" ) ); m_comment = new wxTextCtrl( this, wxID_ANY, "", wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE ); m_log = new wxCheckBo...
by ONEEYEMAN
Tue Feb 12, 2019 10:32 pm
Forum: C++ Development
Topic: Selecting Multiple Items In A wxListBox Without Having To Manually Press Ctrl
Replies: 11
Views: 117

Re: Selecting Multiple Items In A wxListBox Without Having To Manually Press Ctrl

Hi, PB, On Windows it is. In order to have a Ctrl+click behavior, you should set an extended style, which OP doesn't want. But on GTK, things will be different. Setting wxLB_MULTIPLE will produce the behavior of wxLB_MULTIPLE + wxLB_EXTENDED, because GTK+ does not support multiple selection with jus...
by ONEEYEMAN
Tue Feb 12, 2019 7:38 pm
Forum: C++ Development
Topic: wxTextCtrl EVT_TEXT_ENTER
Replies: 8
Views: 128

Re: wxTextCtrl EVT_TEXT_ENTER

Hi, This is the reason "not to use" any RAD tool. ;-) When you start with wxWidgets, you should get the concept of the sizers and how to work with them. You should also understand how to do event handling - what events are propagated and what are not, how to pass events to the system, dyna...
by ONEEYEMAN
Tue Feb 12, 2019 7:10 pm
Forum: C++ Development
Topic: Selecting Multiple Items In A wxListBox Without Having To Manually Press Ctrl
Replies: 11
Views: 117

Re: Selecting Multiple Items In A wxListBox Without Having To Manually Press Ctrl

Hi, @PB: There is no special handling is required to get the desired behaviour (at least when you are on Windows). @OP: Check that you are not set an extended style for the control. Also see if you can reproduce this in the widgets sample. And of course it would be nice to know the answers to double...
by ONEEYEMAN
Tue Feb 12, 2019 3:58 pm
Forum: Compiler / Linking / IDE Related
Topic: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]
Replies: 6
Views: 112

Re: macOS Compile error (git master 3.1.3) property 'effectiveAppearance' not found [SOLVED]

Hi, This trype of things are better reported to the wx-dev ML. This forum is for users of the library and it is managed by the users. In the meantime check the commit log here and if you don't see anything as a possible fix, please send an e-mail to wx-dev ML. When you do, put in complete configure ...
by ONEEYEMAN
Mon Feb 11, 2019 3:44 pm
Forum: C++ Development
Topic: wxWidgets & openGL
Replies: 10
Views: 179

Re: wxWidgets & openGL

Hi,
Can you just go inside wxWidgets/samples/opengl/pyramid and try to compile this sample?

Thank you.

Go to advanced search