Search found 3469 matches

by ONEEYEMAN
Tue Oct 22, 2019 1:58 pm
Forum: C++ Development
Topic: Focus problem
Replies: 15
Views: 109

Re: Focus problem

Hi, To problem1: my_bib[count + addc * 10] = new wxTextCtrl(mybuild, wxID_ANY, myword[count + addc * 10], wxDefaultPosition, wxSize(150, 25), wxTE_PROCESS_ENTER); my_bib[count + addc * 10]->Bind(wxEVT_SET_FOCUS, &MyFramebearb::Onsetf,this); in windows.h operator wxWindowID() const { return m_id; //H...
by ONEEYEMAN
Mon Oct 21, 2019 7:30 pm
Forum: C++ Development
Topic: Focus problem
Replies: 15
Views: 109

Re: Focus problem

Hi,
Also, you ABSOLUTELY HAVE TO call event.Skip() in all non-wxCommandEvent handlers, unless you know what you are doing.

Thank you.
by ONEEYEMAN
Mon Oct 21, 2019 2:51 pm
Forum: C++ Development
Topic: Use OpenGL like wxDC?
Replies: 23
Views: 3937

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.
by ONEEYEMAN
Sun Oct 20, 2019 2:54 pm
Forum: Platform Related Issues
Topic: Symbol is not found
Replies: 3
Views: 77

Re: Symbol is not found

Hi, David, Hi, I just tried to add a new dynamic library (.so) to my project. I presume that, by 'dynamic', you mean a non-static library, not one dynamically loaded by dlopen(). Correct. If so, then your problem is almost certainly caused by /usr/local/lib64 not being in your runtime library search...
by ONEEYEMAN
Sun Oct 20, 2019 5:43 am
Forum: Platform Related Issues
Topic: Symbol is not found
Replies: 3
Views: 77

Symbol is not found

Hi, ALL, I just tried to add a new dynamic library (.so) to my project. Everything compiles but during the runtime I'm getting an error as in the screenshot. I tried to do nm, and here is the output: [email protected] /usr/local/lib64 $ nm libmisc.so |grep StyleBar 000000000000b44a T _ZN8StyleBarC1...
by ONEEYEMAN
Thu Oct 17, 2019 4:17 pm
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Re: Strange crashes when destroying toolbar

Hi, Here is the backtrace from the MSVC: > wxmsw311ud_core_vc_custom.dll!wxCheckDynamicCast(wxObject * obj, wxClassInfo * classInfo) Line 433 C++ wxmsw311ud_core_vc_custom.dll!wxMDIClientWindow::DoSetSize(int x, int y, int width, int height, int sizeFlags) Line 1433 C++ wxmsw311ud_core_vc_custom.dll...
by ONEEYEMAN
Wed Oct 16, 2019 3:48 pm
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Re: Strange crashes when destroying toolbar

Hi,
I will post it tonight when I get home.
All controls are standard wxControl based objects (wxTextCtrl, wxComboBox) and some buttons. I will update the code in the previous post.

Thank you.
by ONEEYEMAN
Wed Oct 16, 2019 3:13 pm
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Re: Strange crashes when destroying toolbar

Hi, Here is the scenario: Program starts with the MDI parent frame. This frame has a toolbar. User click a button on the toolbar. A view is created with the MDI child frame. Also in the view constructor the 2 additional toolbars are created wit the parent set as MDI parent frame. Something like this...
by ONEEYEMAN
Wed Oct 16, 2019 12:40 am
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Re: Strange crashes when destroying toolbar

Hi,
Sorry, that should've read "not worked".
As in the OP.

Thank you.
by ONEEYEMAN
Tue Oct 15, 2019 10:52 pm
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Re: Strange crashes when destroying toolbar

Hi,
In addition - I did say that modifying sample worked.

Thank you.
by ONEEYEMAN
Tue Oct 15, 2019 9:57 pm
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Re: Strange crashes when destroying toolbar

Hi, If I set the parent of the toolbar as MDI child then the toolbar will be created inside this child frame. If you look at the old Office applications (prior to them using ribbons) all those toolbars are created inside the parent frame and not the child frame. Now, can you put some (maybe pseudo) ...
by ONEEYEMAN
Tue Oct 15, 2019 8:19 pm
Forum: C++ Development
Topic: Strange crashes when destroying toolbar
Replies: 11
Views: 183

Strange crashes when destroying toolbar

Hi, ALL, I have a weird crash in my application. I tried to reproduce it with the simple change to a sample but failed. Here is my scenario. I am developing an application based on the MDI architecture. I'm creating MDI parent frame inside the main application. That frame has one toolbar with couple...
by ONEEYEMAN
Tue Oct 15, 2019 3:24 pm
Forum: C++ Development
Topic: Hoa to display row number in a wxListCtrl of type wxLC_REPORT virual mode?
Replies: 13
Views: 141

Re: Hoa to display row number in a wxListCtrl of type wxLC_REPORT virual mode?

Hi,
Let me repeat it - wxGrid by definition IS virtual.

Thank you.
by ONEEYEMAN
Tue Oct 15, 2019 12:26 pm
Forum: C++ Development
Topic: Hoa to display row number in a wxListCtrl of type wxLC_REPORT virual mode?
Replies: 13
Views: 141

Re: Hoa to display row number in a wxListCtrl of type wxLC_REPORT virual mode?

Hi,
How huge is a "huge"?
Are we talking Google-level data or?

wxGrid suppose to mimic the behavior of a spreadsheet.

Thank you.
by ONEEYEMAN
Tue Oct 15, 2019 4:52 am
Forum: C++ Development
Topic: Hoa to display row number in a wxListCtrl of type wxLC_REPORT virual mode?
Replies: 13
Views: 141

Re: Hoa to display row number in a wxListCtrl of type wxLC_REPORT virual mode?

Hi, I want to diplay the rownber like the way wxGird does it GetRowLabelValue (int row) const. Is there an API function or this will require custom coding? I'm finding something like this recently, none. wxListCtrl support virtual mode no native row header wxGrid support native row header no virtual...