Search found 5311 matches

by ONEEYEMAN
Wed Sep 22, 2021 12:16 pm
Forum: Platform Related Issues
Topic: wxButton not visible in Windows
Replies: 3
Views: 88

Re: wxButton not visible in Windows

Hi,
Something that you didn't show prevent the button from being displayed.
Start by commenting out some functions on the frame, until it shows.

Thank you.
by ONEEYEMAN
Tue Sep 21, 2021 3:58 pm
Forum: Platform Related Issues
Topic: wxButton not visible in Windows
Replies: 3
Views: 88

Re: wxButton not visible in Windows

Hi,
What is the context of this function?
What compiler do you use?
What wx version do you use?
Did you try to run the debugger and see where it fails?

Thank you.
by ONEEYEMAN
Mon Sep 20, 2021 9:23 pm
Forum: Compiler / Linking / IDE Related
Topic: What is the correct order for linking the wxWidgets lib files?
Replies: 3
Views: 175

Re: What is the correct order for linking the wxWidgets lib files?

Hi, It is very simple to build wxWidgets and start developing with the library using MSVC. Get the source code. Start MSVC so I am Open wxWidgets\build\msw\wx_vcN.sln (I use 2017, so for me N = 15) Select Build->Batch Build Click "Select ALL", the "Build". Go drink some coffee. OPen the wxWidgets\sa...
by ONEEYEMAN
Mon Sep 20, 2021 12:20 pm
Forum: Platform Related Issues
Topic: Is it possible that DllMain returns an error ??
Replies: 5
Views: 245

Re: Is it possible that DllMain returns an error ??

Hi,
Did you build both applications?
If you did - open both solutions open project properties and check whether you are linking with the same CRT. And make sure you build both applications with the same options.

Thank you.
by ONEEYEMAN
Mon Sep 20, 2021 12:14 pm
Forum: C++ Development
Topic: edit scrollbar and properties of list in wxComboCtrl
Replies: 3
Views: 276

Re: edit scrollbar and properties of list in wxComboCtrl

Hi,
1. You should override DoGetBestSize() and return new size. You are using sizers, right?
2.what do you use as items - text ot icons?

And finally - whats your wx version and OS?

Thank you.
by ONEEYEMAN
Sun Sep 19, 2021 4:44 pm
Forum: C++ Development
Topic: Programm crashes on Exit
Replies: 14
Views: 266

Re: Programm crashes on Exit

Hi,
Please post the complete source code. :-)
The code you posted is not inside any of the function - its standalone.
And is it the only code you tried?
What happen if you run it 7th tome? Will it still crash or run fine?

Thank you.
by ONEEYEMAN
Sun Sep 19, 2021 4:08 pm
Forum: Compiler / Linking / IDE Related
Topic: error: 'const wxEventTable wxWindow::sm_eventTable' is protected
Replies: 5
Views: 303

Re: error: 'const wxEventTable wxWindow::sm_eventTable' is protected

Hi Rob,
Is there a reason you are (still) using monolithic build?

Thank you.
by ONEEYEMAN
Sun Sep 19, 2021 4:03 pm
Forum: C++ Development
Topic: Programm crashes on Exit
Replies: 14
Views: 266

Re: Programm crashes on Exit

Hi,
What is your wx version? What OS are you testing under?
Can you make a standalone sample that will crash and post the code (not the complete project)?

Thank you
by ONEEYEMAN
Sun Sep 19, 2021 3:55 pm
Forum: C++ Development
Topic: paste date to wxDatePickerCtrl from clipboard
Replies: 5
Views: 497

Re: paste date to wxDatePickerCtrl from clipboard

Hi,
How many pickers do you have?
The Ctrl+V shortcut is working on the control that has the focus. If you want to use mouse and the context menu - you need to handle it.

Thank you
by ONEEYEMAN
Sat Sep 18, 2021 6:19 pm
Forum: wxWidgets Development (Russian)
Topic: wxStyledTextCtrl::Remove - Не до конца удаляет текст на кириллице
Replies: 16
Views: 1445

Re: wxStyledTextCtrl::Remove - Не до конца удаляет текст на кириллице

Доброго времени суток,
А как работает native Scintilla?

Спасибо.
by ONEEYEMAN
Thu Sep 16, 2021 7:25 pm
Forum: Platform Related Issues
Topic: Enabling App Menu Items when Modal Dialog Shown
Replies: 13
Views: 3062

Re: Enabling App Menu Items when Modal Dialog Shown

Hi,
You can still debug in a Bundle.

You can run:

lldb <myapp.app>

and the application will execute.

Thank you,

P.S.: If its a context menu - try the "menu" sample.
Also, make sure there is no UPDATE_UI event that disables the menu.
by ONEEYEMAN
Thu Sep 16, 2021 7:11 pm
Forum: Platform Related Issues
Topic: Enabling App Menu Items when Modal Dialog Shown
Replies: 13
Views: 3062

Re: Enabling App Menu Items when Modal Dialog Shown

Hi,
Are you running an Application Bundle?
And is "minimal" sample works for you?

Thank you.
by ONEEYEMAN
Wed Sep 15, 2021 6:29 pm
Forum: C++ Development
Topic: [SOLVED] Window not displaying.
Replies: 6
Views: 613

Re: [SOLVED] Window not displaying.

@PB,
true.
But you don't know what standard is OP uses..

Besides {wx}OVERRIDE is generating warning, not an error.

Thank you.

Nevertheless, it is still helpful feature.
by ONEEYEMAN
Wed Sep 15, 2021 5:01 pm
Forum: C++ Development
Topic: [SOLVED] Window not displaying.
Replies: 6
Views: 613

Re: [SOLVED] Window not displaying.

PB,
PB wrote:
Wed Sep 15, 2021 7:09 am
That is why "override" specifier is a thing, comes handy once in a while.
Except that its available since C++...

Thank you.
by ONEEYEMAN
Tue Sep 14, 2021 9:48 pm
Forum: C++ Development
Topic: How to simulate "Cancel" for a wxProgressDialog
Replies: 3
Views: 368

Re: How to simulate "Cancel" for a wxProgressDialog

Hi,
If you are trying to throw out MFC - you are free to do anything you want, right. ;-)

Thank you.