No changes, just remove unused variable in wxCarbon code.
Closes #14989. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2661,11 +2661,10 @@ enum
|
|||||||
static void calculateCGDrawingBounds(CGRect inItemRect, CGRect *outIconRect, CGRect *outTextRect, bool hasIcon = false)
|
static void calculateCGDrawingBounds(CGRect inItemRect, CGRect *outIconRect, CGRect *outTextRect, bool hasIcon = false)
|
||||||
{
|
{
|
||||||
float textBottom;
|
float textBottom;
|
||||||
float iconH, iconW = 0;
|
float iconW = 0;
|
||||||
float padding = kItemPadding;
|
float padding = kItemPadding;
|
||||||
if (hasIcon)
|
if (hasIcon)
|
||||||
{
|
{
|
||||||
iconH = kIconHeight;
|
|
||||||
iconW = kIconWidth;
|
iconW = kIconWidth;
|
||||||
padding = padding*2;
|
padding = padding*2;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user