Opened 5 years ago

Closed 5 years ago

#14957 closed optimization (fixed)

[patch] moved variable initialization into #if wxUSE_TOOLBAR block (src/propgrid/manager.cpp)

Reported by: ettl.martin Owned by:
Priority: normal Milestone:
Component: wxPropertyGrid Version: stable-latest
Keywords: Cc:
Blocked By: Blocking:
Patch: yes


Please review the attached patch. It moves a variable declaration and its initialization into a #if wxUSE_TOOLBAR-block (file: src/propgrid/manager.cpp), where it is only used.

Best regards and many thanks

Martin Ettl

Attachments (1)

cleanup.patch download (462 bytes) - added by ettl.martin 5 years ago.
proposed patch

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by ettl.martin

proposed patch

comment:1 Changed 5 years ago by VZ

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

(In [73397]) Put "#if wxUSE_TOOLBAR" around a variable only used in this case.

No real changes.

Closes #14957.

Note: See TracTickets for help on using tickets.