Skip to content

Compilation fails with wxWidgets below version 2.9.0 #3

Closed

Description

@reboot

Trying to compile OBA with a wxWidgets version below 2.9.0 causes the following error:

window-subclass.cpp: In member function 'virtual wxSize ListCtrlFixed::DoGetBestClientSize() const':
window-subclass.cpp:70:10: error: 'DoGetBestClientSize' is not a member of 'wxControl'

According to the wxWidgets API documentation wxWindow::DoGetBestClientSize() was added in version 2.9.0: http://docs.wxwidgets.org/trunk/classwx_window.html#afe8447cb5975584ee3d4a03e3d02ee89

The configure script should probably check for the correct required version and not allow compilation if the required version is not available.

Activity

  1. added a commit that references this issue on Jul 4, 2020
  2. added a commit that references this issue on Aug 14, 2020
  3. added a commit that references this issue on Feb 21, 2021
  4. added a commit that references this issue on Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions