Opened 6 years ago

Closed 6 years ago

#9480 closed defect (fixed)

wxListCtrl::SetWindowStyleFlag do not changes border styles

Reported by: kosenko Owned by:
Priority: normal Milestone: future
Component: wxMSW Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes

Description

wxMSW trunk revision 53704 2008-05-22
msvc 7.1, xp sp2 with themes enabled

Steps to reproduce:

  1. Apply reproduce.patch to samples
  2. Run listctrl sample

Expected result: ListView has no border
Actual result: ListView with out border

Reason:
Method wxListCtrl::SetWindowStyleFlag do not calls method from base class.
So ::SetWindowPos is not called inside wxWindowMSW::SetWindowStyleFlag/wxWindowMSW::MSWUpdateStyle.

Proposed solution:
wxListCtrl::SetWindowStyleFlag should calls method from base class.

Attachments (2)

reproduce.patch download (660 bytes) - added by kosenko 6 years ago.
listctrl.patch download (360 bytes) - added by kosenko 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by kosenko

Changed 6 years ago by kosenko

comment:1 Changed 6 years ago by vadz

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

Thanks, applied to both branches.

Note: See TracTickets for help on using tickets.