Removed obsolete symbols from comments.
This commit is contained in:
@@ -296,8 +296,7 @@ static void EnsureParentHasControlParentStyle(wxWindow *parent)
|
|||||||
|
|
||||||
// GetCursorPos can return an error, so use this function
|
// GetCursorPos can return an error, so use this function
|
||||||
// instead.
|
// instead.
|
||||||
// Error originally observed with WinCE, but later using Remote Desktop
|
// Error observed when using Remote Desktop to connect to XP.
|
||||||
// to connect to XP.
|
|
||||||
void wxGetCursorPosMSW(POINT* pt)
|
void wxGetCursorPosMSW(POINT* pt)
|
||||||
{
|
{
|
||||||
if (!GetCursorPos(pt))
|
if (!GetCursorPos(pt))
|
||||||
|
@@ -550,7 +550,6 @@ wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckConnectAndPing()
|
|||||||
wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckConnect()
|
wxDialUpManagerImpl::NetConnection wxDialUpManagerImpl::CheckConnect()
|
||||||
{
|
{
|
||||||
// second method: try to connect to a well known host:
|
// second method: try to connect to a well known host:
|
||||||
// This can be used under Win 9x, too!
|
|
||||||
struct hostent *hp;
|
struct hostent *hp;
|
||||||
struct sockaddr_in serv_addr;
|
struct sockaddr_in serv_addr;
|
||||||
|
|
||||||
|
@@ -382,7 +382,6 @@ wxDialUpManagerImpl::CheckStatusInternal(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// second method: try to connect to well known host:
|
// second method: try to connect to well known host:
|
||||||
// This can be used under Win 9x, too!
|
|
||||||
struct hostent *hp;
|
struct hostent *hp;
|
||||||
struct sockaddr_in serv_addr;
|
struct sockaddr_in serv_addr;
|
||||||
int sockfd;
|
int sockfd;
|
||||||
|
@@ -58,7 +58,7 @@ void GraphicsContextDrawingTestCase::DoFontDrawings (wxGraphicsContext *gc)
|
|||||||
gc->DrawText( wxT("That is text"), 20, 10, wxDegToRad(-45), gbTextBackground );
|
gc->DrawText( wxT("That is text"), 20, 10, wxDegToRad(-45), gbTextBackground );
|
||||||
|
|
||||||
// use wxSWISS_FONT and not wxNORMAL_FONT as the latter can't be rotated
|
// use wxSWISS_FONT and not wxNORMAL_FONT as the latter can't be rotated
|
||||||
// under Win9x (it is not TrueType)
|
// (it is not TrueType)
|
||||||
gc->SetFont( wxFont(wxFontInfo(12).Family(wxFONTFAMILY_SWISS)), *wxBLACK );
|
gc->SetFont( wxFont(wxFontInfo(12).Family(wxFONTFAMILY_SWISS)), *wxBLACK );
|
||||||
|
|
||||||
wxString text;
|
wxString text;
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
// resources
|
// resources
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// the application icon (under Windows and OS/2 it is in resources)
|
// the application icon (under Windows it is in resources)
|
||||||
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
#ifndef wxHAS_IMAGES_IN_RESOURCES
|
||||||
#include "emulator.xpm"
|
#include "emulator.xpm"
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user