#14929 closed optimization (fixed)

[patch] cleanup not needed variable in src/generic/msgdlgg.cpp

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

Description

Please review the attached patch, it moves a local boolian into an #if wxUSE_STATBMP-section, where it is only used.

Best regards and many thanks

Martin Ettl

Attachments (1)

cleanup.patch download (896 bytes) - added by ettl.martin 21 months ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 21 months ago by ettl.martin

proposed patch

comment:1 Changed 21 months ago by vadz

  • Owner set to vadz
  • Status changed from new to accepted

Will commit soon.

comment:2 Changed 21 months ago by VZ

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

(In [73318]) No changes, just fix unused variable in wxUSE_STATBMP==0 build.

Move the condition used only for wxStaticBitmap positioning inside "#if
wxUSE_STATBMP" section.

Closes #14929.

Note: See TracTickets for help on using tickets.