Remove unnecessary wxStaticBitmap::DeleteCurrentHandleIfNeeded()
This function was used exactly once and it's simpler and more clear to just inline it into Free() where it was called. No real changes, this is just a small simplification.
This commit is contained in:
@@ -90,9 +90,6 @@ private:
|
||||
// HICON (which can be 0) and destroy the previous image if necessary.
|
||||
void MSWReplaceImageHandle(WXLPARAM handle);
|
||||
|
||||
// Delete the current handle only if we own it.
|
||||
void DeleteCurrentHandleIfNeeded();
|
||||
|
||||
|
||||
wxDECLARE_DYNAMIC_CLASS(wxStaticBitmap);
|
||||
wxDECLARE_EVENT_TABLE();
|
||||
|
Reference in New Issue
Block a user