Search found 8 matches

by Ged 512
Sun May 10, 2020 7:25 am
Forum: C++ Development
Topic: Why are my wxButtons always flat
Replies: 12
Views: 887

Re: Why are my wxButtons always flat

Thanks for all your help.

It looks like I was chasing ghosts.
by Ged 512
Sat May 09, 2020 4:25 am
Forum: C++ Development
Topic: Why are my wxButtons always flat
Replies: 12
Views: 887

Re: Why are my wxButtons always flat

Thanks,

I have attached a screenshot of my wxButtons and for comparison buttons made with MS VisualC6.

Please comment.
by Ged 512
Fri May 08, 2020 10:36 am
Forum: C++ Development
Topic: Why are my wxButtons always flat
Replies: 12
Views: 887

Re: Why are my wxButtons always flat

How do I send a screenshot to this forum? If you provide your email address, I can email you images. I made some progress: My wxButtons behave better with both foreground and background color used as default: ENGAGED = new wxButton(IntSeite, ID_BUTTON1, _("Engaged"), wxPoint(320,168), wxSize(150,30)...
by Ged 512
Thu May 07, 2020 1:30 am
Forum: C++ Development
Topic: Why are my wxButtons always flat
Replies: 12
Views: 887

Re: Why are my wxButtons always flat

To answer your questions: I am using Windows 10 and wxWidgets 3.1.3 or Raspian Linux and WxWidgets 3.0.4. Codeblocks 17.12 and wxSmith. My buttons are flat inside wxSmith and with my executed code. Sorry, I don't know what a theme is and certainly don't use a non-default theme. Below is the code of ...
by Ged 512
Wed May 06, 2020 2:29 am
Forum: C++ Development
Topic: Why are my wxButtons always flat
Replies: 12
Views: 887

Re: Why are my wxButtons always flat

Sorry, but I made a new button TEST without setting the background color and it is just as flat. wxSmith code: TEST = new wxButton(ExtSeite, ID_BUTTON14, _("Test"), wxPoint(700,500), wxDefaultSize, 0, wxDefaultValidator, _T("ID_BUTTON14")); BoxSizer1->Add(ExtSeite, 1, wxALL|wxEXPAND, 5); Additionaly...
by Ged 512
Tue May 05, 2020 1:38 am
Forum: C++ Development
Topic: Why are my wxButtons always flat
Replies: 12
Views: 887

Why are my wxButtons always flat

My wxButtons never have raised borders nor do they change when clicked on. I just have grey rectangles. My typical wxSmith generated code is: AXIAL0 = new wxButton(MainSeite, ID_BUTTON2, _("Axial=0"), wxPoint(90,420), wxSize(150,30), 0, wxDefaultValidator, _T("ID_BUTTON2")); AXIAL0->SetBackgroundCol...
by Ged 512
Sat Dec 14, 2019 9:07 am
Forum: Compiler / Linking / IDE Related
Topic: wxIPV4address causes 10 errors
Replies: 2
Views: 487

Re: wxIPV4address causes 10 errors

Thanks, that fixed my problem
by Ged 512
Fri Dec 13, 2019 2:14 am
Forum: Compiler / Linking / IDE Related
Topic: wxIPV4address causes 10 errors
Replies: 2
Views: 487

wxIPV4address causes 10 errors

Can you please help me. I am trying to convert a program from wxWidgets 2.8 to 3.1.3. Most code required only minor adjustments, but network communication with TCP fails completely. I am using: Windows 10, wxWidgets 3.1.3, Mingw32-gcc-5.1.0 and CodeBlocks 17.12 This code: #include <wx/socket.h> wxSt...