Search found 289 matches

by Kvaz1r
Sat Oct 24, 2020 6:17 am
Forum: C++ Development
Topic: Looking for a widget that has columns.
Replies: 7
Views: 334

Re: Looking for a widget that has columns.

You can checkout dataview sample, probably wxDataViewListCtrl is exactly what do you want.
As another option it could be wxListView or even wxGrid.
by Kvaz1r
Fri Oct 16, 2020 9:03 am
Forum: Compiler / Linking / IDE Related
Topic: Compiler question
Replies: 8
Views: 373

Re: Compiler question

It's much easier use Visual Studio on Windows and don't even touch CMAKE (it's always tricky).
by Kvaz1r
Thu Oct 15, 2020 4:35 pm
Forum: C++ Development
Topic: wxSpinCtrl minimum value problem
Replies: 3
Views: 193

Re: wxSpinCtrl minimum value problem

Can you show some code and also check does widget sample works for you (there is example for using all widgets in this sample).
by Kvaz1r
Mon Oct 12, 2020 2:04 pm
Forum: wxWidgets Development (Russian)
Topic: не отрисовывает wxGraphicsPath
Replies: 1
Views: 512

Re: не отрисовывает wxGraphicsPath

Было бы неплохо увидеть воспроизводимый пример кода. В первом случае wxGraphicsContext точно создается нормально?

Попробуйте взять рабочий пример с использованием этого класса(например, отсюда) и сравнить с тем, что у вас.
by Kvaz1r
Sat Oct 10, 2020 6:22 am
Forum: C++ Development
Topic: Deallocate memory of wxGrid
Replies: 10
Views: 382

Re: Deallocate memory of wxGrid

Could you provide reproducible sample of code?
by Kvaz1r
Fri Oct 09, 2020 7:28 am
Forum: C++ Development
Topic: Problem with bitmap
Replies: 5
Views: 323

Re: Problem with bitmap

What exactly are you trying to do with bitmap? From the documentation : If you need direct access the bitmap data instead going through drawing to it using wxMemoryDC you need to use the wxPixelData class (either wxNativePixelData for RGB bitmaps or wxAlphaPixelData for bitmaps with an additionally ...
by Kvaz1r
Mon Oct 05, 2020 4:05 pm
Forum: C++ Development
Topic: ipc assert in reading
Replies: 9
Views: 432

Re: ipc assert in reading

Can you provide code for reproducing the error?
by Kvaz1r
Fri Sep 04, 2020 5:23 pm
Forum: wxWidgets Development (Russian)
Topic: How to Privent wxFrame from Move and stay it maxsized
Replies: 20
Views: 1054

Re: How to Privent wxFrame from Move and stay it maxsized

Есть wxMoveEvent. Можно попробовать в обработчике возвращать окно на место.
by Kvaz1r
Thu Sep 03, 2020 8:28 am
Forum: wxWidgets Development (Russian)
Topic: Русские буквы на кнопках
Replies: 5
Views: 365

Re: Русские буквы на кнопках

Как собирали проект?
Похожие темы -
viewtopic.php?f=33&t=45686
viewtopic.php?f=33&t=45877
by Kvaz1r
Sun Aug 23, 2020 5:45 pm
Forum: wxWidgets Development (Russian)
Topic: wxauinotebook изменение страницы
Replies: 6
Views: 491

Re: wxauinotebook изменение страницы

Пример: #include <wx/wx.h> #include <wx/aui/auibook.h> #include <wx/grid.h> class MyFrame : public wxFrame { public: MyFrame() : wxFrame(NULL, wxID_ANY, "Test", wxDefaultPosition, wxSize(800, 600)) { wxBoxSizer* topSizer; topSizer = new wxBoxSizer(wxVERTICAL); m_auinotebook = new wxAuiNotebook(this,...
by Kvaz1r
Sun Aug 23, 2020 7:19 am
Forum: wxWidgets Development (Russian)
Topic: wxauinotebook изменение страницы
Replies: 6
Views: 491

Re: wxauinotebook изменение страницы

Если планируете использовать грид и дальше, то проще всего сделать его членом класса (как собственно и wxauinotebook).

Но вообще есть функция GetPage/1, которая вернет указатель на страницу, кастанете его к указателю на грид и все должно получится.
by Kvaz1r
Fri Aug 21, 2020 9:14 am
Forum: C++ Development
Topic: displaying the result and user input in a calculator
Replies: 2
Views: 165

Re: displaying the result and user input in a calculator

As you already said you can just use multiline text control.
by Kvaz1r
Tue Aug 11, 2020 1:51 pm
Forum: C++ Development
Topic: using TimeSpan to avoid Timer?
Replies: 8
Views: 357

Re: using TimeSpan to avoid Timer?

There is an example of using wxTimer.
by Kvaz1r
Tue Aug 04, 2020 6:55 am
Forum: wxWidgets Development (Russian)
Topic: Новые кнопки в заголовок окна
Replies: 4
Views: 670

Re: Новые кнопки в заголовок окна

Здравствуйте. Проще всего - не пытаться расширить стандартный заголовок, а убрать границы (передать 0 для стиля в конструкторе фрейма) и сделать свой "заголовок".

Если хотите расширить стандартный, то под Windows это сделать точно можно, вот пример для WinAPI:
Custom Window Frame Using DWM
by Kvaz1r
Sun Jul 26, 2020 7:12 pm
Forum: C++ Development
Topic: MySql and wxGrid
Replies: 1
Views: 181

Re: MySql and wxGrid

Can you add more details to describing of your task? Maybe you don't need wxGrid at all. See post for the details:
Database / wxSQLite