Opened 5 years ago

Closed 5 years ago

#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


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 5 years ago.
proposed patch

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by ettl.martin

proposed patch

comment:1 Changed 5 years ago by vadz

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

Will commit soon.

comment:2 Changed 5 years 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.