Remove redundant tests for __WIN32__ in wxMSW code.
This is always defined, Win16 is not supported since ages and Win64 defines both __WIN32__ and __WIN64__.
This commit is contained in:
@@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
// ----- taken from RPC.H
|
// ----- taken from RPC.H
|
||||||
#ifndef UUID_DEFINED // in some cases RPC.H will be already
|
#ifndef UUID_DEFINED // in some cases RPC.H will be already
|
||||||
#ifdef __WIN32__ // included, so avoid redefinition
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned long Data1;
|
unsigned long Data1;
|
||||||
@@ -28,7 +27,6 @@
|
|||||||
unsigned short Data3;
|
unsigned short Data3;
|
||||||
unsigned char Data4[8];
|
unsigned char Data4[8];
|
||||||
} UUID; // UUID = GUID = CLSID = LIBID = IID
|
} UUID; // UUID = GUID = CLSID = LIBID = IID
|
||||||
#endif // WIN32
|
|
||||||
#endif // UUID_DEFINED
|
#endif // UUID_DEFINED
|
||||||
|
|
||||||
#ifndef GUID_DEFINED
|
#ifndef GUID_DEFINED
|
||||||
|
@@ -99,20 +99,8 @@ WXDLLIMPEXP_BASE void wxSetInstance(HINSTANCE hInst);
|
|||||||
#define APIENTRY FAR PASCAL
|
#define APIENTRY FAR PASCAL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WIN32__
|
#ifndef _EXPORT
|
||||||
#define _EXPORT
|
#define _EXPORT
|
||||||
#else
|
|
||||||
#define _EXPORT _export
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef __WIN32__
|
|
||||||
typedef signed short int SHORT;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if !defined(__WIN32__) // 3.x uses FARPROC for dialogs
|
|
||||||
#ifndef STRICT
|
|
||||||
#define DLGPROC FARPROC
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -160,7 +148,7 @@ extern LONG APIENTRY _EXPORT
|
|||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|
||||||
// a wrapper macro for ZeroMemory()
|
// a wrapper macro for ZeroMemory()
|
||||||
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
|
#if !defined(__WXMICROWIN__)
|
||||||
#define wxZeroMemory(obj) ::ZeroMemory(&obj, sizeof(obj))
|
#define wxZeroMemory(obj) ::ZeroMemory(&obj, sizeof(obj))
|
||||||
#else
|
#else
|
||||||
#define wxZeroMemory(obj) memset((void*) & obj, 0, sizeof(obj))
|
#define wxZeroMemory(obj) memset((void*) & obj, 0, sizeof(obj))
|
||||||
|
@@ -74,9 +74,7 @@ public:
|
|||||||
virtual void MarkDirty();
|
virtual void MarkDirty();
|
||||||
virtual void DiscardEdits();
|
virtual void DiscardEdits();
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
virtual bool EmulateKeyPress(const wxKeyEvent& event);
|
virtual bool EmulateKeyPress(const wxKeyEvent& event);
|
||||||
#endif // __WIN32__
|
|
||||||
|
|
||||||
#if wxUSE_RICHEDIT
|
#if wxUSE_RICHEDIT
|
||||||
// apply text attribute to the range of text (only works with richedit
|
// apply text attribute to the range of text (only works with richedit
|
||||||
|
@@ -355,9 +355,7 @@ public:
|
|||||||
#if wxUSE_HOTKEY
|
#if wxUSE_HOTKEY
|
||||||
bool HandleHotKey(WXWPARAM wParam, WXLPARAM lParam);
|
bool HandleHotKey(WXWPARAM wParam, WXLPARAM lParam);
|
||||||
#endif
|
#endif
|
||||||
#ifdef __WIN32__
|
|
||||||
int HandleMenuChar(int chAccel, WXLPARAM lParam);
|
int HandleMenuChar(int chAccel, WXLPARAM lParam);
|
||||||
#endif
|
|
||||||
// Create and process a clipboard event specified by type.
|
// Create and process a clipboard event specified by type.
|
||||||
bool HandleClipboardEvent( WXUINT nMsg );
|
bool HandleClipboardEvent( WXUINT nMsg );
|
||||||
|
|
||||||
|
@@ -1334,11 +1334,7 @@ void wxMSWDCImpl::DoDrawIcon(const wxIcon& icon, wxCoord x, wxCoord y)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifdef __WIN32__
|
|
||||||
::DrawIconEx(GetHdc(), XLOG2DEV(x), YLOG2DEV(y), GetHiconOf(icon), icon.GetWidth(), icon.GetHeight(), 0, NULL, DI_NORMAL);
|
::DrawIconEx(GetHdc(), XLOG2DEV(x), YLOG2DEV(y), GetHiconOf(icon), icon.GetWidth(), icon.GetHeight(), 0, NULL, DI_NORMAL);
|
||||||
#else
|
|
||||||
::DrawIcon(GetHdc(), XLOG2DEV(x), YLOG2DEV(y), GetHiconOf(icon));
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CalcBoundingBox(x, y);
|
CalcBoundingBox(x, y);
|
||||||
@@ -1390,7 +1386,6 @@ void wxMSWDCImpl::DoDrawBitmap( const wxBitmap &bmp, wxCoord x, wxCoord y, bool
|
|||||||
}
|
}
|
||||||
if ( useMask )
|
if ( useMask )
|
||||||
{
|
{
|
||||||
#ifdef __WIN32__
|
|
||||||
// use MaskBlt() with ROP which doesn't do anything to dst in the mask
|
// use MaskBlt() with ROP which doesn't do anything to dst in the mask
|
||||||
// points
|
// points
|
||||||
bool ok = false;
|
bool ok = false;
|
||||||
@@ -1435,7 +1430,6 @@ void wxMSWDCImpl::DoDrawBitmap( const wxBitmap &bmp, wxCoord x, wxCoord y, bool
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( !ok )
|
if ( !ok )
|
||||||
#endif // Win32
|
|
||||||
{
|
{
|
||||||
// Rather than reproduce wxMSWDCImpl::Blit, let's do it at the wxWin API
|
// Rather than reproduce wxMSWDCImpl::Blit, let's do it at the wxWin API
|
||||||
// level
|
// level
|
||||||
@@ -2326,7 +2320,6 @@ bool wxMSWDCImpl::DoStretchBlit(wxCoord xdest, wxCoord ydest,
|
|||||||
|
|
||||||
if (useMask)
|
if (useMask)
|
||||||
{
|
{
|
||||||
#ifdef __WIN32__
|
|
||||||
// we want the part of the image corresponding to the mask to be
|
// we want the part of the image corresponding to the mask to be
|
||||||
// transparent, so use "DSTCOPY" ROP for the mask points (the usual
|
// transparent, so use "DSTCOPY" ROP for the mask points (the usual
|
||||||
// meaning of fg and bg is inverted which corresponds to wxWin notion
|
// meaning of fg and bg is inverted which corresponds to wxWin notion
|
||||||
@@ -2356,7 +2349,6 @@ bool wxMSWDCImpl::DoStretchBlit(wxCoord xdest, wxCoord ydest,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( !success )
|
if ( !success )
|
||||||
#endif // Win32
|
|
||||||
{
|
{
|
||||||
// Blit bitmap with mask
|
// Blit bitmap with mask
|
||||||
HDC dc_mask ;
|
HDC dc_mask ;
|
||||||
|
@@ -46,10 +46,6 @@
|
|||||||
#include "wx/printdlg.h"
|
#include "wx/printdlg.h"
|
||||||
#include "wx/msw/printdlg.h"
|
#include "wx/msw/printdlg.h"
|
||||||
|
|
||||||
#ifndef __WIN32__
|
|
||||||
#include <print.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// mingw32 defines GDI_ERROR incorrectly
|
// mingw32 defines GDI_ERROR incorrectly
|
||||||
#if defined(__GNUWIN32__) || !defined(GDI_ERROR)
|
#if defined(__GNUWIN32__) || !defined(GDI_ERROR)
|
||||||
#undef GDI_ERROR
|
#undef GDI_ERROR
|
||||||
|
@@ -46,12 +46,6 @@
|
|||||||
// macros and constants
|
// macros and constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
#define _EXPORT
|
|
||||||
#else
|
|
||||||
#define _EXPORT _export
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
#define DDE_CP CP_WINUNICODE
|
#define DDE_CP CP_WINUNICODE
|
||||||
#else
|
#else
|
||||||
|
@@ -256,7 +256,6 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
|
|
||||||
if ( !IsFindDataOk(m_finddata) )
|
if ( !IsFindDataOk(m_finddata) )
|
||||||
{
|
{
|
||||||
#ifdef __WIN32__
|
|
||||||
DWORD err = ::GetLastError();
|
DWORD err = ::GetLastError();
|
||||||
|
|
||||||
if ( err != ERROR_FILE_NOT_FOUND && err != ERROR_NO_MORE_FILES )
|
if ( err != ERROR_FILE_NOT_FOUND && err != ERROR_NO_MORE_FILES )
|
||||||
@@ -264,7 +263,6 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
wxLogSysError(err, _("Cannot enumerate files in directory '%s'"),
|
wxLogSysError(err, _("Cannot enumerate files in directory '%s'"),
|
||||||
m_dirname.c_str());
|
m_dirname.c_str());
|
||||||
}
|
}
|
||||||
#endif // __WIN32__
|
|
||||||
//else: not an error, just no (such) files
|
//else: not an error, just no (such) files
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -283,14 +281,12 @@ bool wxDirData::Read(wxString *filename)
|
|||||||
{
|
{
|
||||||
if ( !FindNext(m_finddata, m_filespec, PTR_TO_FINDDATA) )
|
if ( !FindNext(m_finddata, m_filespec, PTR_TO_FINDDATA) )
|
||||||
{
|
{
|
||||||
#ifdef __WIN32__
|
|
||||||
DWORD err = ::GetLastError();
|
DWORD err = ::GetLastError();
|
||||||
|
|
||||||
if ( err != ERROR_NO_MORE_FILES )
|
if ( err != ERROR_NO_MORE_FILES )
|
||||||
{
|
{
|
||||||
wxLogLastError(wxT("FindNext"));
|
wxLogLastError(wxT("FindNext"));
|
||||||
}
|
}
|
||||||
#endif // __WIN32__
|
|
||||||
//else: not an error, just no more (such) files
|
//else: not an error, just no more (such) files
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
@@ -436,8 +432,6 @@ bool wxDir::GetNext(wxString *filename) const
|
|||||||
// wxGetDirectoryTimes: used by wxFileName::GetTimes()
|
// wxGetDirectoryTimes: used by wxFileName::GetTimes()
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
|
|
||||||
extern bool
|
extern bool
|
||||||
wxGetDirectoryTimes(const wxString& dirname,
|
wxGetDirectoryTimes(const wxString& dirname,
|
||||||
FILETIME *ftAccess, FILETIME *ftCreate, FILETIME *ftMod)
|
FILETIME *ftAccess, FILETIME *ftCreate, FILETIME *ftMod)
|
||||||
@@ -467,6 +461,3 @@ wxGetDirectoryTimes(const wxString& dirname,
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // __WIN32__
|
|
||||||
|
|
||||||
|
@@ -460,12 +460,8 @@ bool wxDragImage::Move(const wxPoint& pt)
|
|||||||
rect.left = 0; rect.top = 0;
|
rect.left = 0; rect.top = 0;
|
||||||
rect.right = 0; rect.bottom = 0;
|
rect.right = 0; rect.bottom = 0;
|
||||||
DWORD style = ::GetWindowLong((HWND) m_window->GetHWND(), GWL_STYLE);
|
DWORD style = ::GetWindowLong((HWND) m_window->GetHWND(), GWL_STYLE);
|
||||||
#ifdef __WIN32__
|
|
||||||
DWORD exStyle = ::GetWindowLong((HWND) m_window->GetHWND(), GWL_EXSTYLE);
|
DWORD exStyle = ::GetWindowLong((HWND) m_window->GetHWND(), GWL_EXSTYLE);
|
||||||
::AdjustWindowRectEx(& rect, style, FALSE, exStyle);
|
::AdjustWindowRectEx(& rect, style, FALSE, exStyle);
|
||||||
#else
|
|
||||||
::AdjustWindowRect(& rect, style, FALSE);
|
|
||||||
#endif
|
|
||||||
// Subtract the (negative) values, i.e. add a small increment
|
// Subtract the (negative) values, i.e. add a small increment
|
||||||
pt2.x -= rect.left; pt2.y -= rect.top;
|
pt2.x -= rect.left; pt2.y -= rect.top;
|
||||||
}
|
}
|
||||||
|
@@ -52,11 +52,7 @@
|
|||||||
// constants
|
// constants
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
# define wxMAXPATH 65534
|
# define wxMAXPATH 65534
|
||||||
#else
|
|
||||||
# define wxMAXPATH 1024
|
|
||||||
#endif
|
|
||||||
|
|
||||||
# define wxMAXFILE 1024
|
# define wxMAXFILE 1024
|
||||||
|
|
||||||
|
@@ -156,14 +156,14 @@ void wxFontEnumeratorHelper::DoEnumerate()
|
|||||||
m_facename.empty() ? NULL : wxMSW_CONV_LPCTSTR(m_facename),
|
m_facename.empty() ? NULL : wxMSW_CONV_LPCTSTR(m_facename),
|
||||||
(FONTENUMPROC)wxFontEnumeratorProc,
|
(FONTENUMPROC)wxFontEnumeratorProc,
|
||||||
(LPARAM)this) ;
|
(LPARAM)this) ;
|
||||||
#else // __WIN32__
|
#else // !__WXWINCE__
|
||||||
LOGFONT lf;
|
LOGFONT lf;
|
||||||
lf.lfCharSet = (BYTE)m_charset;
|
lf.lfCharSet = (BYTE)m_charset;
|
||||||
wxStrlcpy(lf.lfFaceName, m_facename.c_str(), WXSIZEOF(lf.lfFaceName));
|
wxStrlcpy(lf.lfFaceName, m_facename.c_str(), WXSIZEOF(lf.lfFaceName));
|
||||||
lf.lfPitchAndFamily = 0;
|
lf.lfPitchAndFamily = 0;
|
||||||
::EnumFontFamiliesEx(hDC, &lf, (FONTENUMPROC)wxFontEnumeratorProc,
|
::EnumFontFamiliesEx(hDC, &lf, (FONTENUMPROC)wxFontEnumeratorProc,
|
||||||
(LPARAM)this, 0 /* reserved */) ;
|
(LPARAM)this, 0 /* reserved */) ;
|
||||||
#endif // Win32/CE
|
#endif // WinCE/!WinCE
|
||||||
|
|
||||||
::ReleaseDC(NULL, hDC);
|
::ReleaseDC(NULL, hDC);
|
||||||
#endif
|
#endif
|
||||||
|
@@ -201,7 +201,7 @@ wxFontEncoding wxGetFontEncFromCharSet(int cs)
|
|||||||
fontEncoding = wxFONTENCODING_MAX;
|
fontEncoding = wxFONTENCODING_MAX;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#if defined(__WIN32__) && !defined(__WXMICROWIN__)
|
#if !defined(__WXMICROWIN__)
|
||||||
case EASTEUROPE_CHARSET:
|
case EASTEUROPE_CHARSET:
|
||||||
fontEncoding = wxFONTENCODING_CP1250;
|
fontEncoding = wxFONTENCODING_CP1250;
|
||||||
break;
|
break;
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
|
|
||||||
// Why doesn't BC++ have joyGetPosEx?
|
// Why doesn't BC++ have joyGetPosEx?
|
||||||
#if !defined(__WIN32__) || defined(__BORLANDC__)
|
#if defined(__BORLANDC__)
|
||||||
#define NO_JOYGETPOSEX
|
#define NO_JOYGETPOSEX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -408,41 +408,29 @@ int wxJoystick::GetNumberButtons() const
|
|||||||
|
|
||||||
int wxJoystick::GetNumberAxes() const
|
int wxJoystick::GetNumberAxes() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wNumAxes;
|
return joyCaps.wNumAxes;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetMaxButtons() const
|
int wxJoystick::GetMaxButtons() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wMaxButtons;
|
return joyCaps.wMaxButtons;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetMaxAxes() const
|
int wxJoystick::GetMaxAxes() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wMaxAxes;
|
return joyCaps.wMaxAxes;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetPollingMin() const
|
int wxJoystick::GetPollingMin() const
|
||||||
@@ -465,172 +453,120 @@ int wxJoystick::GetPollingMax() const
|
|||||||
|
|
||||||
int wxJoystick::GetRudderMin() const
|
int wxJoystick::GetRudderMin() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wRmin;
|
return joyCaps.wRmin;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetRudderMax() const
|
int wxJoystick::GetRudderMax() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wRmax;
|
return joyCaps.wRmax;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetUMin() const
|
int wxJoystick::GetUMin() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wUmin;
|
return joyCaps.wUmin;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetUMax() const
|
int wxJoystick::GetUMax() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wUmax;
|
return joyCaps.wUmax;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetVMin() const
|
int wxJoystick::GetVMin() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wVmin;
|
return joyCaps.wVmin;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int wxJoystick::GetVMax() const
|
int wxJoystick::GetVMax() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return 0;
|
return 0;
|
||||||
else
|
else
|
||||||
return joyCaps.wVmax;
|
return joyCaps.wVmax;
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool wxJoystick::HasRudder() const
|
bool wxJoystick::HasRudder() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_HASR) == JOYCAPS_HASR);
|
return ((joyCaps.wCaps & JOYCAPS_HASR) == JOYCAPS_HASR);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxJoystick::HasZ() const
|
bool wxJoystick::HasZ() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_HASZ) == JOYCAPS_HASZ);
|
return ((joyCaps.wCaps & JOYCAPS_HASZ) == JOYCAPS_HASZ);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxJoystick::HasU() const
|
bool wxJoystick::HasU() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_HASU) == JOYCAPS_HASU);
|
return ((joyCaps.wCaps & JOYCAPS_HASU) == JOYCAPS_HASU);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxJoystick::HasV() const
|
bool wxJoystick::HasV() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_HASV) == JOYCAPS_HASV);
|
return ((joyCaps.wCaps & JOYCAPS_HASV) == JOYCAPS_HASV);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxJoystick::HasPOV() const
|
bool wxJoystick::HasPOV() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_HASPOV) == JOYCAPS_HASPOV);
|
return ((joyCaps.wCaps & JOYCAPS_HASPOV) == JOYCAPS_HASPOV);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxJoystick::HasPOV4Dir() const
|
bool wxJoystick::HasPOV4Dir() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_POV4DIR) == JOYCAPS_POV4DIR);
|
return ((joyCaps.wCaps & JOYCAPS_POV4DIR) == JOYCAPS_POV4DIR);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool wxJoystick::HasPOVCTS() const
|
bool wxJoystick::HasPOVCTS() const
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
|
||||||
JOYCAPS joyCaps;
|
JOYCAPS joyCaps;
|
||||||
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
if (joyGetDevCaps(m_joystick, & joyCaps, sizeof(JOYCAPS)) != JOYERR_NOERROR)
|
||||||
return false;
|
return false;
|
||||||
else
|
else
|
||||||
return ((joyCaps.wCaps & JOYCAPS_POVCTS) == JOYCAPS_POVCTS);
|
return ((joyCaps.wCaps & JOYCAPS_POVCTS) == JOYCAPS_POVCTS);
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Operations
|
// Operations
|
||||||
|
@@ -944,13 +944,11 @@ void wxMenu::SetTitle(const wxString& label)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
// put the title string in bold face
|
// put the title string in bold face
|
||||||
if ( !m_title.empty() )
|
if ( !m_title.empty() )
|
||||||
{
|
{
|
||||||
SetDefaultMenuItem(GetHmenu(), (UINT)idMenuTitle);
|
SetDefaultMenuItem(GetHmenu(), (UINT)idMenuTitle);
|
||||||
}
|
}
|
||||||
#endif // Win32
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
@@ -615,7 +615,6 @@ void wxMenuItem::Check(bool check)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
// calling CheckMenuRadioItem() with such parameters hangs my system
|
// calling CheckMenuRadioItem() with such parameters hangs my system
|
||||||
// (NT4 SP6) and I suspect this could happen to the others as well,
|
// (NT4 SP6) and I suspect this could happen to the others as well,
|
||||||
// so don't do it!
|
// so don't do it!
|
||||||
@@ -630,7 +629,6 @@ void wxMenuItem::Check(bool check)
|
|||||||
{
|
{
|
||||||
wxLogLastError(wxT("CheckMenuRadioItem"));
|
wxLogLastError(wxT("CheckMenuRadioItem"));
|
||||||
}
|
}
|
||||||
#endif // __WIN32__
|
|
||||||
|
|
||||||
// also uncheck all the other items in this radio group
|
// also uncheck all the other items in this radio group
|
||||||
wxMenuItemList::compatibility_iterator node = items.Item(start);
|
wxMenuItemList::compatibility_iterator node = items.Item(start);
|
||||||
|
@@ -326,7 +326,6 @@ void wxMetafileDCImpl::SetMapMode(wxMappingMode mode)
|
|||||||
// wxMakeMetafilePlaceable
|
// wxMakeMetafilePlaceable
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
struct RECT32
|
struct RECT32
|
||||||
{
|
{
|
||||||
short left;
|
short left;
|
||||||
@@ -343,16 +342,6 @@ struct mfPLACEABLEHEADER {
|
|||||||
DWORD reserved;
|
DWORD reserved;
|
||||||
WORD checksum;
|
WORD checksum;
|
||||||
};
|
};
|
||||||
#else
|
|
||||||
struct mfPLACEABLEHEADER {
|
|
||||||
DWORD key;
|
|
||||||
HANDLE hmf;
|
|
||||||
RECT bbox;
|
|
||||||
WORD inch;
|
|
||||||
DWORD reserved;
|
|
||||||
WORD checksum;
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Pass filename of existing non-placeable metafile, and bounding box.
|
* Pass filename of existing non-placeable metafile, and bounding box.
|
||||||
|
@@ -190,7 +190,6 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
|
|||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
#if wxUSE_BMPBUTTON
|
#if wxUSE_BMPBUTTON
|
||||||
#if defined(__WIN32__) && defined(BS_BITMAP)
|
|
||||||
if (style & BS_BITMAP)
|
if (style & BS_BITMAP)
|
||||||
{
|
{
|
||||||
// TODO: how to find the bitmap?
|
// TODO: how to find the bitmap?
|
||||||
@@ -198,7 +197,6 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
|
|||||||
wxLogError(wxT("Have not yet implemented bitmap button as BS_BITMAP button."));
|
wxLogError(wxT("Have not yet implemented bitmap button as BS_BITMAP button."));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
|
||||||
if (style1 == BS_OWNERDRAW)
|
if (style1 == BS_OWNERDRAW)
|
||||||
{
|
{
|
||||||
// TODO: how to find the bitmap?
|
// TODO: how to find the bitmap?
|
||||||
@@ -285,7 +283,6 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
|
|||||||
)
|
)
|
||||||
win = new wxStaticText;
|
win = new wxStaticText;
|
||||||
#if wxUSE_STATBMP
|
#if wxUSE_STATBMP
|
||||||
#if defined(__WIN32__) && defined(BS_BITMAP)
|
|
||||||
else if (style1 == SS_BITMAP)
|
else if (style1 == SS_BITMAP)
|
||||||
{
|
{
|
||||||
win = new wxStaticBitmap;
|
win = new wxStaticBitmap;
|
||||||
@@ -293,7 +290,6 @@ wxWindow* wxWindow::CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd)
|
|||||||
// Help! this doesn't correspond with the wxWin implementation.
|
// Help! this doesn't correspond with the wxWin implementation.
|
||||||
wxLogError(wxT("Please make SS_BITMAP statics into owner-draw buttons."));
|
wxLogError(wxT("Please make SS_BITMAP statics into owner-draw buttons."));
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
#endif /* wxUSE_STATBMP */
|
#endif /* wxUSE_STATBMP */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -48,7 +48,7 @@ public:
|
|||||||
|
|
||||||
wxRegionRefData(const wxRegionRefData& data) : wxGDIRefData()
|
wxRegionRefData(const wxRegionRefData& data) : wxGDIRefData()
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
||||||
DWORD noBytes = ::GetRegionData(data.m_region, 0, NULL);
|
DWORD noBytes = ::GetRegionData(data.m_region, 0, NULL);
|
||||||
RGNDATA *rgnData = (RGNDATA*) new char[noBytes];
|
RGNDATA *rgnData = (RGNDATA*) new char[noBytes];
|
||||||
::GetRegionData(data.m_region, noBytes, rgnData);
|
::GetRegionData(data.m_region, noBytes, rgnData);
|
||||||
|
@@ -244,7 +244,7 @@ wxFont wxSystemSettingsNative::GetFont(wxSystemFont index)
|
|||||||
static const int gs_metricsMap[] =
|
static const int gs_metricsMap[] =
|
||||||
{
|
{
|
||||||
-1, // wxSystemMetric enums start at 1, so give a dummy value for pos 0.
|
-1, // wxSystemMetric enums start at 1, so give a dummy value for pos 0.
|
||||||
#if defined(__WIN32__) && !defined(__WXWINCE__)
|
#if !defined(__WXWINCE__)
|
||||||
SM_CMOUSEBUTTONS,
|
SM_CMOUSEBUTTONS,
|
||||||
#else
|
#else
|
||||||
-1,
|
-1,
|
||||||
@@ -260,7 +260,7 @@ static const int gs_metricsMap[] =
|
|||||||
#endif
|
#endif
|
||||||
SM_CXDOUBLECLK,
|
SM_CXDOUBLECLK,
|
||||||
SM_CYDOUBLECLK,
|
SM_CYDOUBLECLK,
|
||||||
#if defined(__WIN32__) && defined(SM_CXDRAG)
|
#if defined(SM_CXDRAG)
|
||||||
SM_CXDRAG,
|
SM_CXDRAG,
|
||||||
SM_CYDRAG,
|
SM_CYDRAG,
|
||||||
SM_CXEDGE,
|
SM_CXEDGE,
|
||||||
@@ -288,7 +288,7 @@ static const int gs_metricsMap[] =
|
|||||||
SM_CXSCREEN,
|
SM_CXSCREEN,
|
||||||
SM_CYSCREEN,
|
SM_CYSCREEN,
|
||||||
|
|
||||||
#if defined(__WIN32__) && defined(SM_CXSIZEFRAME)
|
#if defined(SM_CXSIZEFRAME)
|
||||||
SM_CXSIZEFRAME,
|
SM_CXSIZEFRAME,
|
||||||
SM_CYSIZEFRAME,
|
SM_CYSIZEFRAME,
|
||||||
SM_CXSMICON,
|
SM_CXSMICON,
|
||||||
@@ -307,7 +307,7 @@ static const int gs_metricsMap[] =
|
|||||||
#endif
|
#endif
|
||||||
SM_CYCAPTION,
|
SM_CYCAPTION,
|
||||||
SM_CYMENU,
|
SM_CYMENU,
|
||||||
#if defined(__WIN32__) && defined(SM_NETWORK)
|
#if defined(SM_NETWORK)
|
||||||
SM_NETWORK,
|
SM_NETWORK,
|
||||||
#else
|
#else
|
||||||
-1,
|
-1,
|
||||||
@@ -317,7 +317,7 @@ static const int gs_metricsMap[] =
|
|||||||
#else
|
#else
|
||||||
-1,
|
-1,
|
||||||
#endif
|
#endif
|
||||||
#if defined(__WIN32__) && defined(SM_SHOWSOUNDS)
|
#if defined(SM_SHOWSOUNDS)
|
||||||
SM_SHOWSOUNDS,
|
SM_SHOWSOUNDS,
|
||||||
#else
|
#else
|
||||||
-1,
|
-1,
|
||||||
|
@@ -24,7 +24,7 @@
|
|||||||
#pragma hdrstop
|
#pragma hdrstop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if wxUSE_SNGLINST_CHECKER && defined(__WIN32__)
|
#if wxUSE_SNGLINST_CHECKER
|
||||||
|
|
||||||
#ifndef WX_PRECOMP
|
#ifndef WX_PRECOMP
|
||||||
#include "wx/string.h"
|
#include "wx/string.h"
|
||||||
|
@@ -299,7 +299,6 @@ void wxStaticBitmap::SetImageNoCopy( wxGDIImage* image)
|
|||||||
GetPosition(&x, &y);
|
GetPosition(&x, &y);
|
||||||
GetSize(&w, &h);
|
GetSize(&w, &h);
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
// Normally we just use the handle of provided image but in some cases we
|
// Normally we just use the handle of provided image but in some cases we
|
||||||
// create our own temporary bitmap, so the actual handle may end up being
|
// create our own temporary bitmap, so the actual handle may end up being
|
||||||
// different from the original one.
|
// different from the original one.
|
||||||
@@ -334,8 +333,6 @@ void wxStaticBitmap::SetImageNoCopy( wxGDIImage* image)
|
|||||||
m_currentHandle = (WXHANDLE)handle;
|
m_currentHandle = (WXHANDLE)handle;
|
||||||
m_ownsCurrentHandle = handle != handleOrig;
|
m_ownsCurrentHandle = handle != handleOrig;
|
||||||
|
|
||||||
#endif // Win32
|
|
||||||
|
|
||||||
if ( ImageIsOk() )
|
if ( ImageIsOk() )
|
||||||
{
|
{
|
||||||
int width = image->GetWidth(),
|
int width = image->GetWidth(),
|
||||||
|
@@ -1272,8 +1272,6 @@ void wxTextCtrl::Clear()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
|
|
||||||
bool wxTextCtrl::EmulateKeyPress(const wxKeyEvent& event)
|
bool wxTextCtrl::EmulateKeyPress(const wxKeyEvent& event)
|
||||||
{
|
{
|
||||||
SetFocus();
|
SetFocus();
|
||||||
@@ -1289,8 +1287,6 @@ bool wxTextCtrl::EmulateKeyPress(const wxKeyEvent& event)
|
|||||||
return GetValue().length() != lenOld;
|
return GetValue().length() != lenOld;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // __WIN32__
|
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// Accessors
|
// Accessors
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -86,7 +86,7 @@
|
|||||||
#include <lm.h>
|
#include <lm.h>
|
||||||
#endif // USE_NET_API
|
#endif // USE_NET_API
|
||||||
|
|
||||||
#if defined(__WIN32__) && !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
#if !defined(__WXMICROWIN__) && !defined(__WXWINCE__)
|
||||||
#ifndef __UNIX__
|
#ifndef __UNIX__
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
@@ -468,7 +468,6 @@ bool wxGetDiskSpace(const wxString& WXUNUSED_IN_WINCE(path),
|
|||||||
if ( path.empty() )
|
if ( path.empty() )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
#if defined(__WIN32__)
|
|
||||||
ULARGE_INTEGER bytesFree, bytesTotal;
|
ULARGE_INTEGER bytesFree, bytesTotal;
|
||||||
|
|
||||||
// may pass the path as is, GetDiskFreeSpaceEx() is smart enough
|
// may pass the path as is, GetDiskFreeSpaceEx() is smart enough
|
||||||
@@ -507,7 +506,6 @@ bool wxGetDiskSpace(const wxString& WXUNUSED_IN_WINCE(path),
|
|||||||
*pFree = wxDiskspaceSize_t(UL(bytesFree).LowPart);
|
*pFree = wxDiskspaceSize_t(UL(bytesFree).LowPart);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif // Win32
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
#endif
|
#endif
|
||||||
@@ -890,7 +888,7 @@ bool wxShutdown(int WXUNUSED_IN_WINCE(flags))
|
|||||||
#ifdef __WXWINCE__
|
#ifdef __WXWINCE__
|
||||||
// TODO-CE
|
// TODO-CE
|
||||||
return false;
|
return false;
|
||||||
#elif defined(__WIN32__)
|
#else
|
||||||
bool bOK = true;
|
bool bOK = true;
|
||||||
|
|
||||||
if ( wxGetOsVersion(NULL, NULL) == wxOS_WINDOWS_NT ) // if is NT or 2K
|
if ( wxGetOsVersion(NULL, NULL) == wxOS_WINDOWS_NT ) // if is NT or 2K
|
||||||
|
@@ -111,9 +111,7 @@
|
|||||||
#include <mmsystem.h>
|
#include <mmsystem.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __WIN32__
|
|
||||||
#include <windowsx.h>
|
#include <windowsx.h>
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(__WXWINCE__)
|
#if defined(__WXWINCE__)
|
||||||
#include "wx/msw/wince/missing.h"
|
#include "wx/msw/wince/missing.h"
|
||||||
@@ -1635,7 +1633,7 @@ void wxWindowMSW::Update()
|
|||||||
// just calling UpdateWindow() is not enough, what we did in our WM_PAINT
|
// just calling UpdateWindow() is not enough, what we did in our WM_PAINT
|
||||||
// handler needs to be really drawn right now
|
// handler needs to be really drawn right now
|
||||||
(void)::GdiFlush();
|
(void)::GdiFlush();
|
||||||
#endif // __WIN32__
|
#endif // !WinCE
|
||||||
}
|
}
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user