Fold wxOSX-specific wxImageList into generic version
Get rid of wxOSX wxImageList implementation as it was 99% identical to the generic version and the non-identical parts should really have been made part of the generic version too from the beginning. Notably, use GetScaled{Width,Height}() in Add() method in the generic version too now.
This commit is contained in:
@@ -2395,7 +2395,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/osx/brush.cpp
|
||||
src/osx/dialog_osx.cpp
|
||||
src/osx/fontutil.cpp
|
||||
src/osx/imaglist.cpp
|
||||
src/osx/minifram.cpp
|
||||
src/osx/nonownedwnd_osx.cpp
|
||||
src/osx/palette.cpp
|
||||
@@ -2495,6 +2494,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
src/generic/textmeasure.cpp
|
||||
src/generic/icon.cpp
|
||||
src/osx/statbmp_osx.cpp
|
||||
src/generic/imaglist.cpp
|
||||
</if>
|
||||
</set>
|
||||
|
||||
@@ -2538,7 +2538,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
wx/osx/fontdlg.h
|
||||
wx/osx/frame.h
|
||||
wx/osx/gauge.h
|
||||
wx/osx/imaglist.h
|
||||
wx/osx/listbox.h
|
||||
wx/osx/listctrl.h
|
||||
wx/osx/mdi.h
|
||||
@@ -2593,6 +2592,7 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
||||
wx/generic/statusbr.h
|
||||
wx/osx/appprogress.h
|
||||
wx/generic/icon.h
|
||||
wx/generic/imaglist.h
|
||||
</set>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
|
@@ -2274,7 +2274,6 @@ set(OSX_LOWLEVEL_SRC
|
||||
src/osx/brush.cpp
|
||||
src/osx/dialog_osx.cpp
|
||||
src/osx/fontutil.cpp
|
||||
src/osx/imaglist.cpp
|
||||
src/osx/minifram.cpp
|
||||
src/osx/nonownedwnd_osx.cpp
|
||||
src/osx/palette.cpp
|
||||
@@ -2373,6 +2372,7 @@ set(OSX_COMMON_SRC
|
||||
src/generic/icon.cpp
|
||||
#TODO: </if>
|
||||
src/osx/statbmp_osx.cpp
|
||||
src/generic/imaglist.cpp
|
||||
)
|
||||
|
||||
set(OSX_SHARED_HDR
|
||||
@@ -2414,7 +2414,6 @@ set(OSX_SHARED_HDR
|
||||
wx/osx/fontdlg.h
|
||||
wx/osx/frame.h
|
||||
wx/osx/gauge.h
|
||||
wx/osx/imaglist.h
|
||||
wx/osx/listbox.h
|
||||
wx/osx/listctrl.h
|
||||
wx/osx/mdi.h
|
||||
@@ -2469,6 +2468,7 @@ set(OSX_SHARED_HDR
|
||||
wx/generic/statusbr.h
|
||||
wx/osx/appprogress.h
|
||||
wx/generic/icon.h
|
||||
wx/generic/imaglist.h
|
||||
)
|
||||
|
||||
set(OSX_COCOA_SRC
|
||||
|
@@ -2256,7 +2256,6 @@ OSX_LOWLEVEL_SRC =
|
||||
src/osx/brush.cpp
|
||||
src/osx/dialog_osx.cpp
|
||||
src/osx/fontutil.cpp
|
||||
src/osx/imaglist.cpp
|
||||
src/osx/minifram.cpp
|
||||
src/osx/nonownedwnd_osx.cpp
|
||||
src/osx/palette.cpp
|
||||
@@ -2347,6 +2346,7 @@ OSX_COMMON_SRC =
|
||||
src/generic/fontdlgg.cpp
|
||||
src/generic/fontpickerg.cpp
|
||||
src/generic/icon.cpp
|
||||
src/generic/imaglist.cpp
|
||||
src/generic/listctrl.cpp
|
||||
src/generic/prntdlgg.cpp
|
||||
src/generic/statusbr.cpp
|
||||
@@ -2393,7 +2393,6 @@ OSX_SHARED_HDR =
|
||||
wx/osx/fontdlg.h
|
||||
wx/osx/frame.h
|
||||
wx/osx/gauge.h
|
||||
wx/osx/imaglist.h
|
||||
wx/osx/listbox.h
|
||||
wx/osx/listctrl.h
|
||||
wx/osx/mdi.h
|
||||
@@ -2444,6 +2443,7 @@ OSX_SHARED_HDR =
|
||||
wx/generic/fontdlgg.h
|
||||
wx/generic/fontpickerg.h
|
||||
wx/generic/icon.h
|
||||
wx/generic/imaglist.h
|
||||
wx/generic/listctrl.h
|
||||
wx/generic/prntdlgg.h
|
||||
wx/generic/statusbr.h
|
||||
|
Reference in New Issue
Block a user