Search found 94 matches

by tomay3000
Wed Jan 02, 2019 3:52 pm
Forum: Platform Related Issues
Topic: [wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted
Replies: 8
Views: 273

Re: [wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted

Like PB already said, you'll have to strip down the code to a bare minimum that shows the issue. Especially if you intend to open a bug report. OK Looking at the screenshot, what Windows theme is that? It is a custom theme: " Office 2007 " that is loaded dynamically in the application by ...
by tomay3000
Wed Jan 02, 2019 11:34 am
Forum: Platform Related Issues
Topic: [wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted
Replies: 8
Views: 273

Re: [wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted

Compile this code and see for yourself: resize on the " Client " tab #include <wx/wx.h> #include <wx/artprov.h> #include <wx/xrc/xmlres.h> #include "wx/generic/statbmpg.h" #include <wx/string.h> #include <wx/bitmap.h> #include <wx/image.h> #include <wx/icon.h> #include <wx/gdicmn...
by tomay3000
Wed Jan 02, 2019 12:40 am
Forum: Platform Related Issues
Topic: [wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted
Replies: 8
Views: 273

Re: [wxMSW] wxScrolledWindow wont cause the child controls to be repainted

I assume that the issue manifest when resizing and not when just scrolling? YES , the issue manifests when resizing, and EXACTLY when one of the scrollbars shows up when the minimum width/height is reached. Are you sure that the issue is withing wxScrolledWindow, I did a simple test (wxWidgets 3.1....
by tomay3000
Tue Jan 01, 2019 7:36 pm
Forum: Platform Related Issues
Topic: [wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted
Replies: 8
Views: 273

[wxMSW][wx v3.1.2] wxScrolledWindow wont cause the child controls to be repainted

Hello, the wxScrolledWindow derived classes are not causing a sizer contained child controls to be redrawn especially if the implement owner drawn OnPaint handlers. I had to use wxFULL_REPAINT_ON_RESIZE style flag to get it working, but this causes a flickering problems. This is a screenshot illustr...
by tomay3000
Mon Dec 10, 2018 2:56 pm
Forum: Announcements and Discoveries
Topic: wxWidgets v3.1.2 release is out ;)
Replies: 4
Views: 184

wxWidgets v3.1.2 release is out ;)

Hello,
I just want to announce that wxWidgets v3.1.2 release is out today.
https://github.com/wxWidgets/wxWidgets/releases

Thank you.
by tomay3000
Sun Dec 02, 2018 5:10 am
Forum: Platform Related Issues
Topic: [wxMSW], [wx3.1.1], This problem drove me mad, (wxButton, uxTheme, manifest) !!
Replies: 6
Views: 258

Re: [wxMSW], [wx3.1.1], This problem drove me mad, (wxButton, uxTheme, manifest) !!

I found the origin of the problem: There were never a check of the return value of the GetThemeMargins() API, which in my case it was not returning S_OK , and therefore the pMargins struct members contained invalid values of the theme margins that caused that drawing behavior. I have made a pull req...
by tomay3000
Sat Nov 24, 2018 8:19 pm
Forum: Compiler / Linking / IDE Related
Topic: How to Edit one .cpp file and debug it each time without recompiling the whole library ? [SOLVED]
Replies: 2
Views: 473

Re: How to Edit one .cpp file and debug it each time without recompiling the whole library ? [SOLVED]

doublemax wrote:If only one .cpp file changed, the compiler should compile only that one file. Make sure that you don't run "make [...] clean" each time before you build.


OUCH! Just because I was afraid to recompile the whole library I did not try it.
by tomay3000
Sat Nov 24, 2018 5:49 am
Forum: Compiler / Linking / IDE Related
Topic: How to Edit one .cpp file and debug it each time without recompiling the whole library ? [SOLVED]
Replies: 2
Views: 473

How to Edit one .cpp file and debug it each time without recompiling the whole library ? [SOLVED]

Hello, is it possible to edit, for example lets say: src/msw/anybutton.cpp of my installed wxWidgets and try to fix bugs without the need of recompiling the whole library ? Because it takes forever to compile, and if it did compile I would not know if my fixes are correct. BTW: I am using wxWidgets ...
by tomay3000
Thu Nov 22, 2018 12:02 pm
Forum: Platform Related Issues
Topic: [wxMSW], [wx3.1.1], This problem drove me mad, (wxButton, uxTheme, manifest) !!
Replies: 6
Views: 258

Re: [wxMSW], [wx3.1.1], This problem drove me mad, (wxButton, uxTheme, manifest) !!

Labeling the screenshots would have been helpful... Sorry for that. #-o I assume: 1) wxButton with bitmap, without the theme DLL 2) the same with theme DLL 3) wxButton without bitmap, with theme DLL Your assumption is correct. =D> I have no explanation for the stretched button in #2 Me neither I ha...
by tomay3000
Thu Nov 22, 2018 1:37 am
Forum: Platform Related Issues
Topic: [wxMSW], [wx3.1.1], This problem drove me mad, (wxButton, uxTheme, manifest) !!
Replies: 6
Views: 258

[wxMSW], [wx3.1.1], This problem drove me mad, (wxButton, uxTheme, manifest) !!

Hello, I tried to apply a skin (Codejock Skin Framework) to a wxWidgets application using a Simple dll, and it worked without problems until I tried to add some wxButtons with icons loaded from resource to the application, then I noticed the button is drawing expanded and without the icon on it. Whe...
by tomay3000
Sun Nov 18, 2018 5:39 pm
Forum: Platform Related Issues
Topic: [wxMSW], [wx3.1.1], How to make a wxPasswordEntryDialog always on top ? [SOLVED]
Replies: 4
Views: 599

Re: [wxMSW], [wx3.1.1], How to make a wxPasswordEntryDialog always on top ? [SOLVED]

doublemax wrote:Apparenty the "style" parameter passed to passwordEntryDialog is not a standard wxWindow style.

Yes, indeed, your solution worked like a charm ;)

Big thanks to you. =D>
by tomay3000
Sat Nov 17, 2018 11:13 pm
Forum: Platform Related Issues
Topic: [wxMSW], [wx3.1.1], How to make a wxPasswordEntryDialog always on top ? [SOLVED]
Replies: 4
Views: 599

Re: [wxMSW], [wx3.1.1], How to make a wxPasswordEntryDialog always on top ? [SOLVED]

Using the application main window as parent and calling ShowModal() to show the dialog should be enough. At this stage the application main window has not been created yet. I am doing it in the application's OnInit level. Here is how I did it, but with no luck :( bool MyApp::OnInit() { wxString pas...
by tomay3000
Sat Nov 17, 2018 8:03 pm
Forum: Platform Related Issues
Topic: [wxMSW], [wx3.1.1], How to make a wxPasswordEntryDialog always on top ? [SOLVED]
Replies: 4
Views: 599

[wxMSW], [wx3.1.1], How to make a wxPasswordEntryDialog always on top ? [SOLVED]

Hello, I wanted to make a wxPasswordEntryDialog always on top, Creating it with a NULL parent and with these two flags wxSTAY_ON_TOP | wxDIALOG_NO_PARENT did not the trick. I want the user to be presented with an always on top wxPasswordEntryDialog , so the dialog wont hide when he clicks away. I th...
by tomay3000
Thu Nov 08, 2018 4:52 pm
Forum: C++ Development
Topic: How to start a new wxWidgets component project!? [SOLVED]
Replies: 3
Views: 410

Re: How to start a new wxWidgets component project!? [SOLVED]

Thank you guys for the reply. I am going to test it for my project first, then make it publicly available in github.
The project code is garbage for now, it is in its beginning stage, and the road-map is not scheduled.

Go to advanced search