Search found 357 matches

by Kvaz1r
Tue Nov 14, 2023 5:34 pm
Forum: General Development
Topic: I have a question about the licensing agreement of the wxWidgets library.
Replies: 3
Views: 1368

Re: I have a question about the licensing agreement of the wxWidgets library.

Read licence page or licence itself, all is there :) Under the terms of the original wxWidgets licences, you as a user are not obliged to distribute wxWidgets source code with your products, if you distribute these products in binary form . However, you are prevented from restricting use of the libr...
by Kvaz1r
Thu Jul 27, 2023 4:33 pm
Forum: C++ Development
Topic: How to get the "frame" effect?
Replies: 1
Views: 3274

Re: How to get the "frame" effect?

It's called static box - wxStaticBox
by Kvaz1r
Thu Jul 27, 2023 1:32 pm
Forum: wxWidgets Development (Russian)
Topic: Не расширяются дочерние объекты в wxPanel и wxBoxSizer
Replies: 2
Views: 1992

Re: Не расширяются дочерние объекты в wxPanel и wxBoxSizer

Так у вас не указаны расширяемые строки/столбцы в wxFlexGridSizer, укажите их и все должно заработать. Документация.
by Kvaz1r
Thu Jul 27, 2023 1:28 pm
Forum: Compiler / Linking / IDE Related
Topic: wxWidget custom control how to import into wxFormBuilder
Replies: 2
Views: 797

Re: wxWidget custom control how to import into wxFormBuilder

Look at CustomControl in Additional tab and fill properties.
by Kvaz1r
Sat Jul 15, 2023 5:41 pm
Forum: General Development
Topic: Is it possible to implement material design component with ex ?
Replies: 9
Views: 3271

Re: Is it possible to implement material design component with ex ?

Why Google Material Design guidelines important to you?
by Kvaz1r
Sun Jun 04, 2023 6:01 pm
Forum: C++ Development
Topic: Problem (sometimes) reading utf-8 file
Replies: 27
Views: 2625

Re: Problem (sometimes) reading utf-8 file

In that case problem somewhere else - try to create small code to reproduce the behaviour.
by Kvaz1r
Thu May 25, 2023 3:26 pm
Forum: C++ Development
Topic: Difference between function overwrite in derived class and bind
Replies: 8
Views: 1491

Re: Difference between function overwrite in derived class and bind

Actually, in recentish Windows versions, mouse wheel scrolling works even when the window does not have input focus (unless one turns "Scroll Inactive Windows When I Hover Over Them" off in Settings). It may be the same for the other two platforms. I have no idea what the OP is trying to ...
by Kvaz1r
Thu May 25, 2023 9:28 am
Forum: C++ Development
Topic: Difference between function overwrite in derived class and bind
Replies: 8
Views: 1491

Re: Difference between function overwrite in derived class and bind

but I found it does not have any difference even though I delete it, may I know in which situation this set focus is required? Unfocused widget is not getting mouse events so the widget won't scroll. Don't reinvent the wheel - wxGrid should work under panel - provide code for reproducing behaviour.
by Kvaz1r
Sat May 20, 2023 1:17 pm
Forum: Compiler / Linking / IDE Related
Topic: Getting problem compiling the samples
Replies: 2
Views: 1079

Re: Getting problem compiling the samples

Compile samples the exact same way as you build library with .sin file. Or build lib with nmake first.
by Kvaz1r
Mon May 15, 2023 2:26 pm
Forum: C++ Development
Topic: Quick question
Replies: 4
Views: 968

Re: Quick question

Yes, they are included. However you shouldn't rely on that, it's safe to include standard files several times :)
by Kvaz1r
Thu May 04, 2023 6:09 pm
Forum: C++ Development
Topic: Add/Remove node to wxDataViewCtrl
Replies: 8
Views: 1034

Re: Add/Remove node to wxDataViewCtrl

doublemax wrote: Thu May 04, 2023 5:57 pm Got a link for me?
Add/Remove node to wxDataViewCtrl
by Kvaz1r
Sat Apr 29, 2023 9:46 am
Forum: wxWidgets Development (Russian)
Topic: инициализация контроллов (wx c++ vs2017
Replies: 38
Views: 7427

Re: инициализация контроллов (wx c++ vs2017

Похоже на проблему с проектированием, но если переделывать не хочется, оберните свой вектор в wxSharedPtr и передавайте его в диалог отдельно, где и будете использовать. Тогда и кастовать при вызовах не придется, решение грязное, но рабочее :D
by Kvaz1r
Tue Aug 30, 2022 10:28 am
Forum: wxWidgets Development (Russian)
Topic: обработка событий от клавиатуры
Replies: 2
Views: 5229

Re: обработка событий от клавиатуры

Чтобы с Enter работало надо wxEVT_CHAR_HOOK обрабатывать. Пример: m_textCtrl1->Bind(wxEVT_CHAR_HOOK, [](wxKeyEvent& ev) { if (ev.GetKeyCode() == WXK_SPACE) { wxMessageBox("Space"); } else if (ev.GetKeyCode() == WXK_RETURN) { wxMessageBox("Enter"); ev.DoAllowNextEvent(); } ev....
by Kvaz1r
Wed Aug 10, 2022 1:53 pm
Forum: C++ Development
Topic: How to check if scrollbar is visible or not?
Replies: 5
Views: 2113

Re: How to check if scrollbar is visible or not?

KingZahard001 wrote: Wed Aug 10, 2022 7:16 am
Kvaz1r wrote: Wed Aug 10, 2022 6:08 am What about IsShown or IsShownOnScreen?
Tried that as well that is also giving wrong result.
In that case it would be better to see example to reproduce.