Menu

#860 Fix compilation of wxslistbox.cpp with wx-master

Undefined
invalid
wxSmith (61)
Patch
2019-11-02
2019-08-06
No

Compiling CB head (11825) against wx-master (commit 88f04f5 from today) there is an undeclared symbol (wxListBox) error in wxslistbox.cpp

The patch just includes wx/listbox.h

1 Attachments

Discussion

  • Lieven de Cock

    Lieven de Cock - 2019-11-01

    it seems for wx 3.1.3 I could build without this change

     
  • Miguel Gimenez

    Miguel Gimenez - 2019-11-02

    Possibly the change that forced the patch has been reverted between 88f04f5 and wx3.1.3, please close the ticket.

    Anyway seems logical to include wx/listbox.h if you use a listbox, like in this case, and not depend of it being found in a mutable chain of includes.

     
  • Morten MacFly

    Morten MacFly - 2019-11-02
    • status: open --> invalid
    • assigned_to: Morten MacFly
     

Log in to post a comment.