Search found 149 matches

by Kvaz1r
Fri Nov 29, 2019 10:10 pm
Forum: wxCode
Topic: WxSQLite3
Replies: 5
Views: 822

Re: WxSQLite3

Hi All, I couldn't compile wxSqlite3 with MCVC 2013 becouse of directory or library problems I tried to compile from source, no success, there's no documentation about it at youtube or anywhere else.. Hello. You also can check your issue in issue tracker of the project . If key of issue is popular ...
by Kvaz1r
Mon Nov 18, 2019 8:50 am
Forum: C++ Development
Topic: wxTimer causing memory leaks
Replies: 8
Views: 291

Re: wxTimer causing memory leaks

You should free memory. There is example how to do it correctly in gauge sample and you can use wxTimer not as pointer, example here.
by Kvaz1r
Wed Nov 06, 2019 2:57 pm
Forum: Compiler / Linking / IDE Related
Topic: $(wxRootDir) Macro wrong
Replies: 1
Views: 108

Re: $(wxRootDir) Macro wrong

Just change corresponding environment variable - How to set the path and environment variables in Windows
by Kvaz1r
Fri Nov 01, 2019 8:41 am
Forum: C++ Development
Topic: wxBoxSizer not refreshing
Replies: 13
Views: 501

Re: wxBoxSizer not refreshing

Can you provide minimal reproducible code?
Try to add

Code: Select all

Update();
after

Code: Select all

Refresh(); 
by Kvaz1r
Fri Nov 01, 2019 8:19 am
Forum: C++ Development
Topic: wxTextCtrl taking only numbers, wxNumberCtrl?
Replies: 6
Views: 412

Re: wxTextCtrl taking only numbers, wxNumberCtrl?

You can use validator for usual wxTextCtrl.
by Kvaz1r
Sun Oct 20, 2019 11:27 am
Forum: C++ Development
Topic: Static Text strings in wxwidgets
Replies: 7
Views: 454

Re: Static Text strings in wxwidgets

Static text can contains several lines and you it's easy to update value without re-creating control, but can you provide a bit code for better understanding your issue?
by Kvaz1r
Fri Oct 11, 2019 10:00 am
Forum: wxWidgets Development (Russian)
Topic: send message to proccess
Replies: 3
Views: 440

Re: send message to proccess

Не специалист, но звучит как обычное клиент-серверное приложение. Посмотрите IPC пример и темы, связанные с использованием сокетов.
by Kvaz1r
Wed Oct 02, 2019 9:25 pm
Forum: General Development
Topic: Plotting scatterplots
Replies: 3
Views: 450

Re: Plotting scatterplots

As for wxCharts...if chosen chart type has support of updating chart data you can update it by timer or whenever it needs. From sample.
by Kvaz1r
Thu Sep 05, 2019 5:53 pm
Forum: C++ Development
Topic: Get wxEvtHandler from event???
Replies: 23
Views: 642

Re: Get wxEvtHandler from event???

Why it should been stored there? If you have event you are already in handlers. And event can have any amount(none, only one or several) of handlers, it just redundant information at all.

Btw, do you know where it's implemented this way?
by Kvaz1r
Thu Sep 05, 2019 5:31 pm
Forum: C++ Development
Topic: Problem with a percentage (%) sign in wxString
Replies: 2
Views: 124

Re: Problem with a percentage (%) sign in wxString

For escaping '%' you can double it.
Example:

Code: Select all

wxString::Format("%%%s%%", "abs")
by Kvaz1r
Mon Sep 02, 2019 5:48 pm
Forum: C++ Development
Topic: wxMoveEvent and wxButton
Replies: 2
Views: 143

Re: wxMoveEvent and wxButton

Yeah, thanks, now I see. I am going to open ticket on trac.
by Kvaz1r
Mon Sep 02, 2019 6:07 am
Forum: C++ Development
Topic: wxMoveEvent and wxButton
Replies: 2
Views: 143

wxMoveEvent and wxButton

According to the documentation wxMoveEvent is holds information about wxTopLevelWindow move change events then why it also generates the event for moving wxButton which isn't wxTopLevelWindow? MCVE: #include <wx/wx.h> #include <wx/dataview.h> class MyFrame : public wxFrame { public: MyFrame(const wx...
by Kvaz1r
Sun Aug 25, 2019 8:31 pm
Forum: Platform Related Issues
Topic: UTF8 characters corrupt on GUI in Windows
Replies: 6
Views: 599

Re: UTF8 characters corrupt on GUI in Windows

Are your sure that VisualStudio use utf8 encoding for file?
by Kvaz1r
Wed Aug 21, 2019 7:34 pm
Forum: C++ Development
Topic: Customize X (close) button behaviour
Replies: 1
Views: 85

Re: Customize X (close) button behaviour

Handle OnClose event.

Events in wxWidgets