[Git][wxwidgets/wxwidgets][master] 2 commits: Fix height of cursor boxes in the drawing sample

1 view
Skip to first unread message

Vadim Zeitlin (@_VZ_)

unread,
Jul 27, 2025, 5:23:01 PMJul 27
to wx-commi...@googlegroups.com

Vadim Zeitlin pushed to branch master at wxWidgets / wxWidgets

Commits:

  • 34031f3f
    by Vadim Zeitlin at 2025-07-27T19:49:51+02:00
    Fix height of cursor boxes in the drawing sample
    
    Remove wrong FromPhys() call, wxSYS_CURSOR_Y is expressed in logical
    pixels, this is a leftover from an old and never used version of the
    code in which it was wrongly expressed in physical ones.
    
  • a5145053
    by Vadim Zeitlin at 2025-07-27T23:09:24+02:00
    Regenerate configure after updating version to 3.3.2
    
    This should have been part of 3b7ce8e9a7 (Increment version to 3.3.2,
    2025-07-25).
    

2 changed files:

Changes:

  • configure
    1 1
     #! /bin/sh
    
    2 2
     # Guess values for system-dependent variables and create Makefiles.
    
    3
    -# Generated by GNU Autoconf 2.69 for wxWidgets 3.3.1.
    
    3
    +# Generated by GNU Autoconf 2.69 for wxWidgets 3.3.2.
    
    4 4
     #
    
    5 5
     # Report bugs to <wx-...@googlegroups.com>.
    
    6 6
     #
    
    ... ... @@ -580,8 +580,8 @@ MAKEFLAGS=
    580 580
     # Identity of this package.
    
    581 581
     PACKAGE_NAME='wxWidgets'
    
    582 582
     PACKAGE_TARNAME='wxwidgets'
    
    583
    -PACKAGE_VERSION='3.3.1'
    
    584
    -PACKAGE_STRING='wxWidgets 3.3.1'
    
    583
    +PACKAGE_VERSION='3.3.2'
    
    584
    +PACKAGE_STRING='wxWidgets 3.3.2'
    
    585 585
     PACKAGE_BUGREPORT='wx-...@googlegroups.com'
    
    586 586
     PACKAGE_URL=''
    
    587 587
     
    
    ... ... @@ -2013,7 +2013,7 @@ if test "$ac_init_help" = "long"; then
    2013 2013
       # Omit some internal or obsolete options to make the list less imposing.
    
    2014 2014
       # This message is too long to be a string in the A/UX 3.1 sh.
    
    2015 2015
       cat <<_ACEOF
    
    2016
    -\`configure' configures wxWidgets 3.3.1 to adapt to many kinds of systems.
    
    2016
    +\`configure' configures wxWidgets 3.3.2 to adapt to many kinds of systems.
    
    2017 2017
     
    
    2018 2018
     Usage: $0 [OPTION]... [VAR=VALUE]...
    
    2019 2019
     
    
    ... ... @@ -2083,7 +2083,7 @@ fi
    2083 2083
     
    
    2084 2084
     if test -n "$ac_init_help"; then
    
    2085 2085
       case $ac_init_help in
    
    2086
    -     short | recursive ) echo "Configuration of wxWidgets 3.3.1:";;
    
    2086
    +     short | recursive ) echo "Configuration of wxWidgets 3.3.2:";;
    
    2087 2087
        esac
    
    2088 2088
       cat <<\_ACEOF
    
    2089 2089
     
    
    ... ... @@ -2594,7 +2594,7 @@ fi
    2594 2594
     test -n "$ac_init_help" && exit $ac_status
    
    2595 2595
     if $ac_init_version; then
    
    2596 2596
       cat <<\_ACEOF
    
    2597
    -wxWidgets configure 3.3.1
    
    2597
    +wxWidgets configure 3.3.2
    
    2598 2598
     generated by GNU Autoconf 2.69
    
    2599 2599
     
    
    2600 2600
     Copyright (C) 2012 Free Software Foundation, Inc.
    
    ... ... @@ -3357,7 +3357,7 @@ cat >config.log <<_ACEOF
    3357 3357
     This file contains any messages produced by compilers while
    
    3358 3358
     running configure, to aid debugging if configure makes a mistake.
    
    3359 3359
     
    
    3360
    -It was created by wxWidgets $as_me 3.3.1, which was
    
    3360
    +It was created by wxWidgets $as_me 3.3.2, which was
    
    3361 3361
     generated by GNU Autoconf 2.69.  Invocation command line was
    
    3362 3362
     
    
    3363 3363
       $ $0 $@
    
    ... ... @@ -3820,7 +3820,7 @@ fi
    3820 3820
     
    
    3821 3821
     wx_major_version_number=3
    
    3822 3822
     wx_minor_version_number=3
    
    3823
    -wx_release_number=1
    
    3823
    +wx_release_number=2
    
    3824 3824
     wx_subrelease_number=0
    
    3825 3825
     
    
    3826 3826
     WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
    
    ... ... @@ -44837,7 +44837,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    44837 44837
     # report actual input values of CONFIG_FILES etc. instead of their
    
    44838 44838
     # values after options handling.
    
    44839 44839
     ac_log="
    
    44840
    -This file was extended by wxWidgets $as_me 3.3.1, which was
    
    44840
    +This file was extended by wxWidgets $as_me 3.3.2, which was
    
    44841 44841
     generated by GNU Autoconf 2.69.  Invocation command line was
    
    44842 44842
     
    
    44843 44843
       CONFIG_FILES    = $CONFIG_FILES
    
    ... ... @@ -44903,7 +44903,7 @@ _ACEOF
    44903 44903
     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    
    44904 44904
     ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    
    44905 44905
     ac_cs_version="\\
    
    44906
    -wxWidgets config.status 3.3.1
    
    44906
    +wxWidgets config.status 3.3.2
    
    44907 44907
     configured by $0, generated by GNU Autoconf 2.69,
    
    44908 44908
       with options \\"\$ac_cs_config\\"
    
    44909 44909
     
    

  • samples/drawing/drawing.cpp
    ... ... @@ -1979,7 +1979,7 @@ void MyCanvas::DrawCursors(wxDC& dc)
    1979 1979
                     x, y);
    
    1980 1980
     
    
    1981 1981
         const int w = FromDIP(200);
    
    1982
    -    const int h = FromPhys(wxSystemSettings::GetMetric(wxSYS_CURSOR_Y, this));
    
    1982
    +    const int h = wxSystemSettings::GetMetric(wxSYS_CURSOR_Y, this);
    
    1983 1983
         const int margin = dc.GetCharWidth();
    
    1984 1984
     
    
    1985 1985
         y += h;
    

Reply all
Reply to author
Forward
0 new messages