Search found 101 matches

by tomay3000
Sat Mar 02, 2019 10:08 am
Forum: C++ Development
Topic: How to append a DateTime column to a wxDataViewListCtrl and customize its output string?
Replies: 4
Views: 67

Re: How to append a DateTime column to a wxDataViewListCtrl and customize its output string?

Yes GetValue worked, I figured out and I had to do this instead: wxVariant value; GetValue(value); wxString strTmp = value.GetDateTime().IsValid() ? value.GetDateTime().FormatISOCombined(wxT(' ')) : wxT(""); These classes have a poor design about sub-classing, I think I am gonna tell Vadim Zeitlin t...
by tomay3000
Sat Mar 02, 2019 2:23 am
Forum: C++ Development
Topic: How to append a DateTime column to a wxDataViewListCtrl and customize its output string?
Replies: 4
Views: 67

How to append a DateTime column to a wxDataViewListCtrl and customize its output string?

Hello, wxDataViewCtrl::AppendDateColumn seems to be very limited and it outputs only the cell in the dd/mm/yy format with the short format year and no time. I also tryed using wxDataViewListCtrl::AppendColumn instead with a wxDataViewTextRenderer like this: wxDataViewTextRenderer *tr16 = new wxDataV...
by tomay3000
Sun Feb 24, 2019 10:06 pm
Forum: Platform Related Issues
Topic: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
Replies: 4
Views: 110

Re: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?

NO, I did not try to catch wxEVT_CHAR_HOOK . Yes, I am using the standard wxWidgets auto-completion control? Also I have noticed that tab navigation is passed to the auto-completion control (meaning it is working for the auto-completion control list). I think that this is the cause it is not working...
by tomay3000
Sun Feb 24, 2019 1:58 am
Forum: Platform Related Issues
Topic: [wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?
Replies: 4
Views: 110

[wxMSW][3.1.2] How to make tab navigation also possible with the RETURN key?

Hello, I want to make tab navigation also possible with the RETURN key for wxTextCtrl and wxComboBox . I know that I should use wxTE_PROCESS_ENTER style and call wxWindow::Navigate() function in its wxEVT_COMBOBOX event handler to achieve this, but the problem appears when: If these is an AutoComple...
by tomay3000
Tue Feb 19, 2019 11:31 am
Forum: The Code Dump
Topic: wxImagePanel with extra functionalities
Replies: 2
Views: 606

Re: wxImagePanel with extra functionalities

HM, Just looked at your code and it is indeed usefull for me. But I cannot figure out while do you show screenshot for a video player, while your code just draws an image in wxPanel. That video player is : wxVLC which I also created. Take a look here: https://forums.wxwidgets.org/viewtopic.php?f=20...
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: 312

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 a theme en...
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: 312

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.h> #include <wx/fon...
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: 312

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

[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: 213

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

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 ?
Replies: 2
Views: 565

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

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 ?
Replies: 2
Views: 565

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

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 ...