Search found 228 matches

by Kvaz1r
Fri Oct 16, 2020 9:03 am
Forum: Compiler / Linking / IDE Related
Topic: Compiler question
Replies: 8
Views: 166

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: 97

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: 161

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

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

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

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: 202

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: 4
Views: 217

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: 5
Views: 418

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: 206

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: 346

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: 346

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: 111

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: 261

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: 499

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: 132

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
by Kvaz1r
Sun Jul 26, 2020 6:59 pm
Forum: General Development
Topic: Projects for beginners
Replies: 1
Views: 135

Re: Projects for beginners

Whatever. The main thing you should have interest in it.
If you like 2d games - write simple game like minesweeper and so on.
Maybe you have some stuff that you would like to automatize - at the last end it could be todo list.