Pass toolbar button ID in wxContextHelpEvent - LF/CR fixed in files (PR #25818)

19 views
Skip to first unread message

StevenPHirshman

unread,
Sep 19, 2025, 1:58:11 PM (6 days ago) Sep 19
to wx-...@googlegroups.com, Subscribed

I've updated the changes to the files needed to handle the toolbar button ID in the context help event. The files should be exactly the same as the originals except for the addition of the virtual function SetHelpIdAtPoint.


You can view, comment on, or merge this pull request online at:

  https://github.com/wxWidgets/wxWidgets/pull/25818

Commit Summary

File Changes

(9 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818@github.com>

Maarten

unread,
Sep 19, 2025, 2:21:07 PM (6 days ago) Sep 19
to wx-...@googlegroups.com, Subscribed
MaartenBent left a comment (wxWidgets/wxWidgets#25818)

You can see all the changes of your PR: below the title, click Files changed.

You can also see these changes before you submit a Pull Request. So you can make sure all the changes are correct before creating the Pull Request.

It shows that you:

  • deleted src/common/cshelp.cpp
  • added a new file include/wx/msvc/wx/setup.h that shouldn't be there
  • committed unrelated changes to include/wx/msw/setup.h and include/wx/msw/wx.rc
  • You added documentation to interface/wx/event.h but the function is added to window.h. So you should add a new function to interface/wx/window.h describing this function. Similar to all the other functions in this file.

The deleted file should also cause a build error when you build at your PC locally. So you should at least test that your local build is successful before committing to a (or creating a new) Pull Request.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3313305053@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 2:33:06 PM (6 days ago) Sep 19
to wx-...@googlegroups.com, Subscribed
StevenPHirshman left a comment (wxWidgets/wxWidgets#25818)

You can see all the changes of your PR: below the title, click Files changed.

You can also see these changes before you submit a Pull Request. So you can make sure all the changes are correct before creating the Pull Request.

It shows that you:

  • deleted src/common/cshelp.cpp
  • added a new file include/wx/msvc/wx/setup.h that shouldn't be there
  • committed unrelated changes to include/wx/msw/setup.h and include/wx/msw/wx.rc
  • You added documentation to interface/wx/event.h but the function is added to window.h. So you should add a new function to interface/wx/window.h describing this function. Similar to all the other functions in this file.

The deleted file should also cause a build error when you build at your PC locally. So you should at least test that your local build is successful before committing to a (or creating a new) Pull Request.

Thank you. I don't know how that happened. Will make the fixes you said. I neglected to check the build locally, or I would have caught the absence of the cshelp.cpp file. Thanks again.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3313343580@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 3:16:47 PM (6 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/b84acb2a3eeac969528880629eb271abef018a0c/after/9ac41562c801e7260d0a89f3a8ae49dade7bb0c8@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 3:24:33 PM (6 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.

  • d6e4f17 Delete include/wx/msvc directory


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/9ac41562c801e7260d0a89f3a8ae49dade7bb0c8/after/d6e4f176ba0b8c6dc88139f2c03cef83633ae422@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 3:31:18 PM (6 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.

  • 37cfc62 Delete src/common/window.h


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/d6e4f176ba0b8c6dc88139f2c03cef83633ae422/after/37cfc62c9e48ee7eda63817d28ff9dbd239da89f@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 5:56:09 PM (5 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.

  • 29ee2fb Delete src/common/tbarbase.h


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/37cfc62c9e48ee7eda63817d28ff9dbd239da89f/after/29ee2fbb451df60287898dd65c0fef5cbc41b5f7@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 6:10:48 PM (5 days ago) Sep 19
to wx-...@googlegroups.com, Subscribed
StevenPHirshman left a comment (wxWidgets/wxWidgets#25818)

You can see all the changes of your PR: below the title, click Files changed.

You can also see these changes before you submit a Pull Request. So you can make sure all the changes are correct before creating the Pull Request.

It shows that you:

  • deleted src/common/cshelp.cpp
  • added a new file include/wx/msvc/wx/setup.h that shouldn't be there
  • committed unrelated changes to include/wx/msw/setup.h and include/wx/msw/wx.rc
  • You added documentation to interface/wx/event.h but the function is added to window.h. So you should add a new function to interface/wx/window.h describing this function. Similar to all the other functions in this file.

The deleted file should also cause a build error when you build at your PC locally. So you should at least test that your local build is successful before committing to a (or creating a new) Pull Request.

I successfully rebuilt the libs on my local PC. Now some of the github builds are failing with errors like this (see below). I didn't touch anything with OpenGL. What could cause this?

D:\a\wxWidgets\wxWidgets\samples\opengl\cube\cube.cpp(28,1): error C1189: #error: "OpenGL required: set wxUSE_GLCANVAS to 1 and rebuild the library" [D:\a\wxWidgets\wxWidgets\samples\opengl\cube\cube.vcxproj]


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3313989466@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 6:27:46 PM (5 days ago) Sep 19
to wx-...@googlegroups.com, Subscribed
StevenPHirshman left a comment (wxWidgets/wxWidgets#25818)

You can see all the changes of your PR: below the title, click Files changed.

You can also see these changes before you submit a Pull Request. So you can make sure all the changes are correct before creating the Pull Request.

It shows that you:

  • deleted src/common/cshelp.cpp
  • added a new file include/wx/msvc/wx/setup.h that shouldn't be there
  • committed unrelated changes to include/wx/msw/setup.h and include/wx/msw/wx.rc
  • You added documentation to interface/wx/event.h but the function is added to window.h. So you should add a new function to interface/wx/window.h describing this function. Similar to all the other functions in this file.

The deleted file should also cause a build error when you build at your PC locally. So you should at least test that your local build is successful before committing to a (or creating a new) Pull Request.

On the failed MAC OS14 wxIOS failed build, there was an error message involving the new function I added. It does not produce an error on my local (Windows 10) build. I'll try to track it down, but I wonder if it is a MAC - specific thing.

/Users/runner/work/wxWidgets/wxWidgets/include/wx/tbarbase.h:289:18: error: 'SetHelpIdAtPoint' marked 'override' but does not override any member functions
virtual void SetHelpIdAtPoint(wxHelpEvent& event) override;


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3314023608@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 8:26:24 PM (5 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/29ee2fbb451df60287898dd65c0fef5cbc41b5f7/after/168d7488c9ee6e3ac445b4a71daba082d2ad6124@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 9:17:34 PM (5 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/168d7488c9ee6e3ac445b4a71daba082d2ad6124/after/98ae974045622db880af625a0d75813f624bcc7f@github.com>

StevenPHirshman

unread,
Sep 19, 2025, 9:18:15 PM (5 days ago) Sep 19
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/98ae974045622db880af625a0d75813f624bcc7f/after/b201283aef907bea9b1443496b431bf0c218f87a@github.com>

VZ

unread,
Sep 20, 2025, 6:55:27 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25818)

Sorry but you need to really stop and think about what you're doing. There are things here that make absolutely no sense, like changes in include/wx/msw/setup.h or src/common/event.h you've added for no discernible reason.

Please check your changes in "Files changed" tab before clicking "Submit"!


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3314894430@github.com>

StevenPHirshman

unread,
Sep 20, 2025, 7:13:58 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.

  • 80f0a0b Delete src/common/event.h


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/b201283aef907bea9b1443496b431bf0c218f87a/after/80f0a0bf13b075fd6deb1611d049f60b5e494b3d@github.com>

StevenPHirshman

unread,
Sep 20, 2025, 7:14:53 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.

  • 9ab0ebb Delete include/wx/msw/setup.h


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/80f0a0bf13b075fd6deb1611d049f60b5e494b3d/after/9ab0ebb3ce2462fe111fccf80ebd8c3b683b216c@github.com>

StevenPHirshman

unread,
Sep 20, 2025, 7:16:17 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Push

@StevenPHirshman pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/before/9ab0ebb3ce2462fe111fccf80ebd8c3b683b216c/after/a52c4c12b94e940cdbb0d9f2f6cc28bae6481adf@github.com>

StevenPHirshman

unread,
Sep 20, 2025, 7:22:07 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
StevenPHirshman left a comment (wxWidgets/wxWidgets#25818)

Sorry but you need to really stop and think about what you're doing. There are things here that make absolutely no sense, like changes in include/wx/msw/setup.h or src/common/event.h you've added for no discernible reason.

Please check your changes in "Files changed" tab before clicking "Submit"!

I don't know how the event.h file got there - I deleted it. There are NO CHANGES made to the setup.h file. I just downloaded it from your repository and uploaded it again to mine - the file is identical to what is in your repository. No changes.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3314908878@github.com>

VZ

unread,
Sep 20, 2025, 7:24:07 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25818)

You undid changes to setup.h but there are still changes in include/wx/msw/wx.rc. Which means that you probably still didn't look at the changes, as advised to do multiple times before.

Sorry, I don't know how to say it more clearly, but you MUST review your changes before submitting them.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3314910435@github.com>

VZ

unread,
Sep 20, 2025, 7:48:49 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed

Closed #25818.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/issue_event/19816032215@github.com>

VZ

unread,
Sep 20, 2025, 7:48:50 AM (5 days ago) Sep 20
to wx-...@googlegroups.com, Subscribed
vadz left a comment (wxWidgets/wxWidgets#25818)

To avoid wasting more time on this, I've created my own version of your PR in #25820. Please test it there and if it works for you, I'll merge it soon.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/pull/25818/c3314922436@github.com>

Reply all
Reply to author
Forward
0 new messages