taken the function unused under CE inside #ifndef __WXWINCE__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,9 +149,10 @@ void wxBrushRefData::Free()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static int TransllateHatchStyle(int style)
|
|
||||||
{
|
|
||||||
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
||||||
|
|
||||||
|
static int TranslateHatchStyle(int style)
|
||||||
|
{
|
||||||
switch ( style )
|
switch ( style )
|
||||||
{
|
{
|
||||||
case wxBDIAGONAL_HATCH: return HS_BDIAGONAL;
|
case wxBDIAGONAL_HATCH: return HS_BDIAGONAL;
|
||||||
@@ -162,19 +163,18 @@ static int TransllateHatchStyle(int style)
|
|||||||
case wxVERTICAL_HATCH: return HS_VERTICAL;
|
case wxVERTICAL_HATCH: return HS_VERTICAL;
|
||||||
default: return -1;
|
default: return -1;
|
||||||
}
|
}
|
||||||
#else // __WXMICROWIN__
|
|
||||||
return -1;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // !__WXMICROWIN__ && !__WXWINCE__
|
||||||
|
|
||||||
HBRUSH wxBrushRefData::GetHBRUSH()
|
HBRUSH wxBrushRefData::GetHBRUSH()
|
||||||
{
|
{
|
||||||
if ( !m_hBrush )
|
if ( !m_hBrush )
|
||||||
{
|
{
|
||||||
#ifndef __WXWINCE__
|
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
||||||
int hatchStyle = TransllateHatchStyle(m_style);
|
int hatchStyle = TranslateHatchStyle(m_style);
|
||||||
if ( hatchStyle == -1 )
|
if ( hatchStyle == -1 )
|
||||||
#endif
|
#endif // !__WXMICROWIN__ && !__WXWINCE__
|
||||||
{
|
{
|
||||||
switch ( m_style )
|
switch ( m_style )
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user