[Git][wxwidgets/wxwidgets][master] Fix wxGrid tests compilation with wxQt

0 views
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Aug 30, 2025, 12:24:10 PM (8 days ago) Aug 30
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 2b647584
    by Vadim Zeitlin at 2025-08-30T18:02:15+02:00
    Fix wxGrid tests compilation with wxQt
    
    Include the header defining QT_VERSION before using it.
    
    This should have been part of ea4c83dc7f (Ignore failure of wxGrid
    column width test with wxQt5, 2025-08-30).
    

1 changed file:

Changes:

  • tests/controls/gridtest.cpp
    ... ... @@ -26,6 +26,10 @@
    26 26
         #include "wx/stopwatch.h"
    
    27 27
     #endif // __WXGTK__
    
    28 28
     
    
    29
    +#ifdef __WXQT__
    
    30
    +    #include <QtGlobal> // QT_VERSION and QT_VERSION_CHECK
    
    31
    +#endif
    
    32
    +
    
    29 33
     #include "waitfor.h"
    
    30 34
     
    
    31 35
     #include <memory>
    


View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help Notification message regarding https://gitlab.com/wxwidgets/wxwidgets/-/commit/2b6475846db22096ef5ed9796347f00de4bc2049 at 1756571047

Reply all
Reply to author
Forward
0 new messages