Opened 6 years ago

Closed 4 years ago

#9641 closed defect (fixed)

wxBitmapComboBox::SetFont() -> public

Reported by: troelsk Owned by:
Priority: normal Milestone:
Component: GUI-generic Version: stable-latest
Keywords: wxBitmapComboBox Cc:
Blocked By: Blocking:
Patch: yes

Description

generic/bmpcbox.h:

wxBitmapComboBox::SetFont() is in the protected section, probably by accident.

Calling it from user space/outside the class works fine, at least on Windows.

Patch:
Move SetFont from the protected section to the public section

Attachments (2)

wxBitmapComboBox_SetFont.patch download (680 bytes) - added by troelsk 6 years ago.
wxBitmapComboBox_SetFont-msw.patch download (818 bytes) - added by troelsk 4 years ago.
Trunk - MSW

Download all attachments as: .zip

Change History (5)

Changed 6 years ago by troelsk

comment:1 Changed 6 years ago by roebling

  • Resolution set to fixed
  • Status changed from new to closed

Changed 4 years ago by troelsk

Trunk - MSW

comment:2 Changed 4 years ago by troelsk

  • Resolution fixed deleted
  • Status changed from closed to reopened

Same problem with msw/bmpcbox.h
Added patch

comment:3 Changed 4 years ago by JMS

  • Resolution set to fixed
  • Status changed from reopened to closed

(In [65091]) Make SetFont() public (fixes #9641)

Note: See TracTickets for help on using tickets.