Search found 216 matches

by Kvaz1r
Sun Mar 22, 2020 8:07 am
Forum: C++ Development
Topic: How to display math formula or symbol in wxWidgets?
Replies: 7
Views: 509

Re: How to display math formula or symbol in wxWidgets?

I don't know any C or C++ library for converting from LATEX to image, except latexpp , so you can try to use it. As an alternative you can find some utility for convertation and call it from your application.
by Kvaz1r
Thu Mar 19, 2020 9:30 pm
Forum: C++ Development
Topic: [Solved] problem with socket program for p2p
Replies: 45
Views: 1998

Re: problem with socket program for p2p

I get only one message on Win10: -= Server listening on port 3000 Would you describe what do you want to achieve? I don't see much sense put client and server code into one class. Maybe it would be better to split this part? If I understood you correctly you want start server in main thread, client ...
by Kvaz1r
Mon Mar 16, 2020 10:09 pm
Forum: C++ Development
Topic: wxTextCtrl for C char variable
Replies: 3
Views: 248

Re: wxTextCtrl for C char variable

Code: Select all

   strcpy(Text, EdText1->GetValue().mb_str(wxConvUTF8));
   EdText2->SetValue(wxString::FromUTF8(Text)); 
For more details see this topic - viewtopic.php?t=36952
by Kvaz1r
Mon Mar 16, 2020 11:53 am
Forum: wxWidgets Development (Russian)
Topic: SetIcon в Win для глафной
Replies: 9
Views: 2936

Re: SetIcon в Win для глафной

А почему просто не добавить .rc-файл к файлам ресурсов проекта (все равно ведь в VS работаете), в котором указать все нужные пути?

Code: Select all

test ICON "Test.ico"
И в конструкторе просто вызывать

Code: Select all

SetIcon(wxICON(test)); 
.
by Kvaz1r
Mon Mar 16, 2020 11:16 am
Forum: C++ Development
Topic: Closing minimized apps
Replies: 7
Views: 389

Re: Closing minimized apps

Did you include submodules when clone repo?
by Kvaz1r
Fri Mar 13, 2020 11:26 am
Forum: Compiler / Linking / IDE Related
Topic: Not able to configure wxwidgets 3.1.3 on VS 2017
Replies: 9
Views: 1597

Re: Not able to configure wxwidgets 3.1.3 on VS 2017

First of all try build and run minimal sample from samples folder to check have your built the library right. if sample works - just copy settings from there.
by Kvaz1r
Wed Mar 11, 2020 10:26 pm
Forum: C++ Development
Topic: Poor performance when resizing window
Replies: 11
Views: 711

Re: Poor performance when resizing window

Both issues are fixed in current master.
by Kvaz1r
Sun Mar 01, 2020 9:02 pm
Forum: C++ Development
Topic: Poor performance when resizing window
Replies: 11
Views: 711

Re: Poor performance when resizing window

Registration on the bug tracker is broken, I'm not receiving any verification emails. And they're not in my spam folder either. Could someone with access please register these for me? Yeah, they still have the problem with verification e-mail. I've opened ticket for first bug - Direct2D GraphicsCon...
by Kvaz1r
Thu Feb 27, 2020 8:25 am
Forum: General Development
Topic: wxFormBuider, communtiy, etc...
Replies: 10
Views: 786

Re: wxFormBuider, communtiy, etc...

I think the GUI toolkit of choice for .NET is WPF and that WPF is not cross-platform (is not a part of .NET Core). I am not even sure MS is still heavily invested in WPF. There is Avalonia cross platform framework for .Net, it's not a mature project (they in beta stage) yet but very perspective.
by Kvaz1r
Thu Feb 27, 2020 8:19 am
Forum: General Development
Topic: wxFormBuider, communtiy, etc...
Replies: 10
Views: 786

Re: wxFormBuider, communtiy, etc...

Nobody knows when this future will come so at least for now you still can use wxWidgets. And for now there isn't many good GUI C++ alternatives (if they even exists, maybe only ImGui, but I never used this one). People are conservative so it definitely will takes some time and MFC is good example.
by Kvaz1r
Mon Feb 24, 2020 6:08 pm
Forum: C++ Development
Topic: passing data from worker thread to the main
Replies: 9
Views: 575

Re: passing data from worker thread to the main

#include "wx/wx.h" #include <wx/thread.h> struct strData { int int1; int int2; float f1; wxString asString() const { return wxString::Format("{%d %d %lf}", int1, int2, f1); } }; class MyThread : public wxThread { public: MyThread(wxEvtHandler* parent) : wxThread(), m_parent(parent) {} ExitCode Entr...
by Kvaz1r
Mon Feb 24, 2020 10:47 am
Forum: C++ Development
Topic: EVT_NOTEBOOK_PAGE_CHANGING: can i change the new page?
Replies: 3
Views: 269

Re: EVT_NOTEBOOK_PAGE_CHANGING: can i change the new page?

It seems that m_MainPages is a member so capture this instead:

Code: Select all

CallAfter( [this] { m_MainPages->SetSelection(9); } );
by Kvaz1r
Thu Feb 20, 2020 7:31 am
Forum: C++ Development
Topic: One object in two classes
Replies: 2
Views: 250

Re: One object in two classes

That's is for what pointers are. Or usual or smart pointers like wxSharedPtr. But it's strange (maybe only for me :P) that you need shared some control between frames. What task are you resolving?