Name and version changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
@@ -408,7 +408,7 @@ bool wxApp::RegisterWindowClasses(
|
||||
} // end of wxApp::RegisterWindowClasses
|
||||
|
||||
//
|
||||
// Cleans up any wxWindows internal structures left lying around
|
||||
// Cleans up any wxWidgets internal structures left lying around
|
||||
//
|
||||
void wxApp::CleanUp()
|
||||
{
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 08/08/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -233,7 +233,7 @@ void wxButton::SetDefault()
|
||||
wxCHECK_RET( pParent, _T("button without parent?") );
|
||||
|
||||
//
|
||||
// Set this one as the default button both for wxWindows and Windows
|
||||
// Set this one as the default button both for wxWidgets and Windows
|
||||
//
|
||||
wxWindow* pWinOldDefault = pParent->SetDefaultItem(this);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -122,7 +122,7 @@ bool wxCheckListBoxItem::OnDrawItem (
|
||||
//
|
||||
// Unfortunately PM doesn't quite get the text position exact. We need to alter
|
||||
// it down and to the right, just a little bit. The coords in rRect are OS/2
|
||||
// coords not wxWindows coords.
|
||||
// coords not wxWidgets coords.
|
||||
//
|
||||
vRect.x += 5;
|
||||
vRect.y -= 3;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -334,7 +334,7 @@ void wxChoice::DoSetSize(
|
||||
//
|
||||
// Ignore height parameter because height doesn't mean 'initially
|
||||
// displayed' height, it refers to the drop-down menu as well. The
|
||||
// wxWindows interpretation is different; also, getting the size returns
|
||||
// wxWidgets interpretation is different; also, getting the size returns
|
||||
// the _displayed_ size (NOT the drop down menu size) so
|
||||
// setting-getting-setting size would not work.
|
||||
//
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/combobox.h"
|
||||
@@ -334,7 +334,7 @@ void wxComboBox::SetSelection(
|
||||
|
||||
//
|
||||
// If from and to are both -1, it means
|
||||
// (in wxWindows) that all text should be selected.
|
||||
// (in wxWidgets) that all text should be selected.
|
||||
// This translates into Windows convention
|
||||
//
|
||||
if ((lFrom == -1L) && (lTo == -1L))
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 09/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
@@ -108,7 +108,7 @@ bool wxControl::OS2CreateControl(
|
||||
(void) OS2GetStyle(GetWindowStyle(), &dwExstyle);
|
||||
}
|
||||
//
|
||||
// All controls should have these styles (wxWindows creates all controls
|
||||
// All controls should have these styles (wxWidgets creates all controls
|
||||
// visible by default)
|
||||
//
|
||||
if (m_isShown )
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/13/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 09/20/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/21/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1999 David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -39,22 +39,22 @@
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
|
||||
|
||||
//
|
||||
// wxWindows uses the Microsoft convention that the origin is the UPPER left.
|
||||
// wxWidgets uses the Microsoft convention that the origin is the UPPER left.
|
||||
// Native OS/2 however in the GPI and PM define the origin as the LOWER left.
|
||||
// In order to map OS/2 GPI/PM y coordinates to wxWindows coordinates we must
|
||||
// In order to map OS/2 GPI/PM y coordinates to wxWidgets coordinates we must
|
||||
// perform the following transformation:
|
||||
//
|
||||
// Parent object height: POBJHEIGHT
|
||||
// Desried origin: WXORIGINY
|
||||
// Object to place's height: OBJHEIGHT
|
||||
//
|
||||
// To get the OS2 position from the wxWindows one:
|
||||
// To get the OS2 position from the wxWidgets one:
|
||||
//
|
||||
// OS2Y = POBJHEIGHT - (WXORIGINY + OBJHEIGHT)
|
||||
//
|
||||
// For OS/2 wxDC's we will always determine m_vRclPaint as the size of the
|
||||
// OS/2 Presentation Space associated with the device context. y is the
|
||||
// desired application's y coordinate of the origin in wxWindows space.
|
||||
// desired application's y coordinate of the origin in wxWidgets space.
|
||||
// objy is the height of the object we are going to draw.
|
||||
//
|
||||
#define OS2Y(y, objy) ((m_vRclPaint.yTop - m_vRclPaint.yBottom) - (y + objy))
|
||||
@@ -2271,7 +2271,7 @@ void wxDC::DoGetTextExtent(
|
||||
sError = wxPMErrorToStr(vErrorCode);
|
||||
// DEBUG
|
||||
sprintf(zMsg, "GpiQueryTextBox for %s: failed with Error: %lx - %s", pStr, vErrorCode, sError.c_str());
|
||||
(void)wxMessageBox( "wxWindows Menu sample"
|
||||
(void)wxMessageBox( "wxWidgets Menu sample"
|
||||
,zMsg
|
||||
,wxICON_INFORMATION
|
||||
);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 09/21/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ===========================================================================
|
||||
@@ -70,7 +70,7 @@ static RECT g_paintStruct;
|
||||
#ifdef __WXDEBUG__
|
||||
// a global variable which we check to verify that wxPaintDC are only
|
||||
// created in resopnse to WM_PAINT message - doing this from elsewhere is a
|
||||
// common programming error among wxWindows programmers and might lead to
|
||||
// common programming error among wxWidgets programmers and might lead to
|
||||
// very subtle and difficult to debug refresh/repaint bugs.
|
||||
int g_isPainting = 0;
|
||||
#endif // __WXDEBUG__
|
||||
@@ -113,7 +113,7 @@ wxWindowDC::wxWindowDC(
|
||||
::GpiAssociate(m_hPS, m_hDC);
|
||||
|
||||
//
|
||||
// Set the wxWindows color table
|
||||
// Set the wxWidgets color table
|
||||
//
|
||||
if (!::GpiCreateLogColorTable( m_hPS
|
||||
,0L
|
||||
@@ -214,7 +214,7 @@ wxClientDC::wxClientDC(
|
||||
,PU_PELS | GPIF_LONG | GPIA_ASSOC
|
||||
);
|
||||
|
||||
// Set the wxWindows color table
|
||||
// Set the wxWidgets color table
|
||||
if (!::GpiCreateLogColorTable( m_hPS
|
||||
,0L
|
||||
,LCOLF_CONSECRGB
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -81,7 +81,7 @@ bool wxMemoryDC::CreateCompatible(
|
||||
m_ok = TRUE;
|
||||
m_bOwnsDC = TRUE;
|
||||
//
|
||||
// Set the wxWindows color table
|
||||
// Set the wxWidgets color table
|
||||
//
|
||||
::GpiCreateLogColorTable( m_hPS
|
||||
,0L
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 08.12.99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/21/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1998 AUTHOR
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* always start by compiling this and producing the PCH file.
|
||||
* Then subsequent source files use the PCH file.
|
||||
*
|
||||
* If precompiling wx.h for wxWindows and derived apps,
|
||||
* If precompiling wx.h for wxWidgets and derived apps,
|
||||
* link dummy.obj with your program.
|
||||
*
|
||||
* This will produce a big PCH file.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 01.06.01
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2001 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// License: wxWindows licence
|
||||
// License: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/05/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/06/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// Created: 10/06/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 01/03/00
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 01.03.00
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
#define DEBUG_PRINTF(NAME) { static int raz=0; \
|
||||
printf( #NAME " %i\n",raz); fflush(stdout); \
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/27/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -173,7 +173,7 @@ void wxFrame::DoGetClientSize(
|
||||
|
||||
//
|
||||
// Set the client size (i.e. leave the calculation of borders etc.
|
||||
// to wxWindows)
|
||||
// to wxWidgets)
|
||||
//
|
||||
void wxFrame::DoSetClientSize(
|
||||
int nWidth
|
||||
@@ -369,7 +369,7 @@ void wxFrame::SetMenuBar(
|
||||
//
|
||||
// Can set a menubar several times.
|
||||
// TODO: how to prevent a memory leak if you have a currently-unattached
|
||||
// menubar? wxWindows assumes that the frame will delete the menu (otherwise
|
||||
// menubar? wxWidgets assumes that the frame will delete the menu (otherwise
|
||||
// there are problems for MDI).
|
||||
//
|
||||
if (pMenuBar->GetHMenu())
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/06/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 20.11.99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 1999 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: ??/??/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) AUTHOR
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Authors: Guilhem Lavaux,
|
||||
* Guillermo Rodriguez Garcia <guille@iies.es> (maintainer)
|
||||
* Purpose: GSocket main Unix and OS/2 file
|
||||
* Licence: The wxWindows licence
|
||||
* Licence: The wxWidgets licence
|
||||
* CVSID: $Id$
|
||||
* -------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Project: GSocket (Generic Socket) for WX
|
||||
* Name: gsockpm.c
|
||||
* Purpose: GSocket: PM part
|
||||
* Licence: The wxWindows licence
|
||||
* Licence: The wxWidgets licence
|
||||
* CVSID: $Id$
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* Project: GSocket (Generic Socket) for WX
|
||||
* Name: gsockpm.c
|
||||
* Purpose: GSocket: PM part
|
||||
* Licence: The wxWindows licence
|
||||
* Licence: The wxWidgets licence
|
||||
* CVSID: $Id$
|
||||
* ------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/09/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/09/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// Modified by:
|
||||
// Created: 10/09/99
|
||||
// Copyright: David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/09/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/defs.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/09/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -194,7 +194,7 @@ bool wxListBox::Create(
|
||||
SetFont(*pTextFont);
|
||||
|
||||
//
|
||||
// Set standard wxWindows colors for Listbox items and highlighting
|
||||
// Set standard wxWidgets colors for Listbox items and highlighting
|
||||
//
|
||||
wxColour vColour;
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 01/21/03
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -69,11 +69,11 @@
|
||||
// how many records the view will have, initially, and how many columns
|
||||
// the detail view of the container will have, as the container represents
|
||||
// a known data block. Thus the OS/2 PM CV_DETAIL view, i.e.
|
||||
// the wxWindows wxLC_REPORT view, relies on STATIC structure for its
|
||||
// the wxWidgets wxLC_REPORT view, relies on STATIC structure for its
|
||||
// columnar data. It gets the data to display by telling it the specific
|
||||
// offset of the field in the struct containing the displayable data. That
|
||||
// data has be of OS/2 Types, PSZ (char string), CDATE or CTIME format.
|
||||
// wxWindows is dynamic in nature, however. We insert columns, one at a
|
||||
// wxWidgets is dynamic in nature, however. We insert columns, one at a
|
||||
// time and do not know how many until the app is done inserting them. So
|
||||
// for OS/2 I have to set a max allowable since they are fixed. We return
|
||||
// an error to the app if they include more than we can handle.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/10/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// We don't put main() in the library any more. SN.
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/10/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/10/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -196,7 +196,7 @@ wxString wxMenuItemBase::GetLabelFromText(
|
||||
{
|
||||
//
|
||||
// '~' is the escape character for OS/2PM and '&' is the one for
|
||||
// wxWindows - skip both of them
|
||||
// wxWidgets - skip both of them
|
||||
//
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/10/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 01.21.00
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: Adopted from msw port --(c) 1998 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
|
||||
// Licence: wxWindows licence (part of wxExtra library)
|
||||
// Licence: wxWidgets licence (part of wxExtra library)
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#define INCL_DOS
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/10/99
|
||||
// RCS-ID: $$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/12/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ===========================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/12/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
#if wxUSE_NOTEBOOK
|
||||
|
||||
// wxWindows
|
||||
// wxWidgets
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/app.h"
|
||||
#include "wx/dcclient.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/12/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
@@ -246,7 +246,7 @@ bool wxOwnerDrawn::OnDrawItem(
|
||||
// Fall back to default colors if none explicitly specified
|
||||
//
|
||||
vRef = ::WinQuerySysColor( HWND_DESKTOP
|
||||
,SYSCLR_MENU // we are using gray for all our window backgrounds in wxWindows
|
||||
,SYSCLR_MENU // we are using gray for all our window backgrounds in wxWidgets
|
||||
,0L
|
||||
);
|
||||
vColBack.Set( GetRValue(vRef)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: ??/??/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) AUTHOR
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/10/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 13.05.02
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2002 Dave Webster <dwebster@bhmi.com>
|
||||
// License: wxWindows licence
|
||||
// License: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/14/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/12/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/12/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/15/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Davdi Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/15/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/15/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/15/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/15/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/15/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -506,7 +506,7 @@ void wxSpinCtrl::SetSelection (
|
||||
)
|
||||
{
|
||||
//
|
||||
// If from and to are both -1, it means (in wxWindows) that all text should
|
||||
// If from and to are both -1, it means (in wxWidgets) that all text should
|
||||
// be selected - translate into Windows convention
|
||||
//
|
||||
if ((lFrom == -1) && (lTo == -1))
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 11/27/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: ??/??/98
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// Created: 10/23/99
|
||||
// Version: $Id$
|
||||
// Copyright: (c) 1999 David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
@@ -663,7 +663,7 @@ void wxTextCtrl::SetSelection(
|
||||
long lToChar = lTo;
|
||||
|
||||
//
|
||||
// If from and to are both -1, it means (in wxWindows) that all text should
|
||||
// If from and to are both -1, it means (in wxWidgets) that all text should
|
||||
// be selected. Translate into Windows convention
|
||||
//
|
||||
if ((lFrom == -1L) && (lTo == -1L))
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Stefan Neis (2003)
|
||||
//
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
@@ -62,7 +62,7 @@ static ULONG s_ulIdMainThread = 1;
|
||||
wxMutex* p_wxMainMutex;
|
||||
|
||||
// OS2 substitute for Tls pointer the current parent thread object
|
||||
wxThread* m_pThread; // pointer to the wxWindows thread object
|
||||
wxThread* m_pThread; // pointer to the wxWidgets thread object
|
||||
|
||||
// if it's FALSE, some secondary thread is holding the GUI lock
|
||||
static bool gs_bGuiOwnedByMainThread = TRUE;
|
||||
@@ -383,7 +383,7 @@ public:
|
||||
private:
|
||||
// Threads in OS/2 have only an ID, so m_hThread is both it's handle and ID
|
||||
// PM also has no real Tls mechanism to index pointers by so we'll just
|
||||
// keep track of the wxWindows parent object here.
|
||||
// keep track of the wxWidgets parent object here.
|
||||
TID m_hThread; // handle and ID of the thread
|
||||
wxThreadState m_eState; // state, see wxThreadState enum
|
||||
unsigned int m_nPriority; // thread priority in "wx" units
|
||||
@@ -443,7 +443,7 @@ void wxThreadInternal::SetPriority(
|
||||
unsigned int nPriority
|
||||
)
|
||||
{
|
||||
// translate wxWindows priority to the PM one
|
||||
// translate wxWidgets priority to the PM one
|
||||
ULONG ulOS2_PriorityClass;
|
||||
ULONG ulOS2_SubPriority;
|
||||
ULONG ulrc;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#ifdef __GNUG__
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 06/30/02
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 30.12.01
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
|
||||
// License: wxWindows licence
|
||||
// License: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
@@ -55,7 +55,7 @@
|
||||
// list of all frames and modeless dialogs
|
||||
wxWindowList wxModelessWindows;
|
||||
|
||||
// the name of the default wxWindows class
|
||||
// the name of the default wxWidgets class
|
||||
extern void wxAssociateWinWithHandle( HWND hWnd
|
||||
,wxWindowOS2* pWin
|
||||
);
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 1997
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) Julian Smart
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 09/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <netbios.h>
|
||||
#endif
|
||||
|
||||
static const wxChar WX_SECTION[] = _T("wxWindows");
|
||||
static const wxChar WX_SECTION[] = _T("wxWidgets");
|
||||
static const wxChar eHOSTNAME[] = _T("HostName");
|
||||
static const wxChar eUSERID[] = _T("UserId");
|
||||
static const wxChar eUSERNAME[] = _T("UserName");
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 10/17/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// For compilers that support precompilation, includes "wx.h".
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
// Created: 20.08.2003 (extracted from os2/utils.cpp)
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// License: wxWindows licence
|
||||
// License: wxWidgets licence
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// ============================================================================
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// Created: 10/12/99
|
||||
// RCS-ID: $Id$
|
||||
// Copyright: (c) David Webster
|
||||
// Licence: wxWindows licence
|
||||
// Licence: wxWidgets licence
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//
|
||||
@@ -1087,7 +1087,7 @@ WXDWORD wxWindowOS2::OS2GetStyle(
|
||||
} // end of wxWindowMSW::MSWGetStyle
|
||||
|
||||
//
|
||||
// Make a Windows extended style from the given wxWindows window style
|
||||
// Make a Windows extended style from the given wxWidgets window style
|
||||
//
|
||||
WXDWORD wxWindowOS2::MakeExtendedStyle(
|
||||
long lStyle
|
||||
@@ -2269,7 +2269,7 @@ void wxWindowOS2::UnpackMenuSelect(
|
||||
} // end of wxWindowOS2::UnpackMenuSelect
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Main wxWindows window proc and the window proc for wxWindow
|
||||
// Main wxWidgets window proc and the window proc for wxWindow
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
//
|
||||
@@ -2754,7 +2754,7 @@ MRESULT wxWindowOS2::OS2WindowProc(
|
||||
break;
|
||||
}
|
||||
//
|
||||
// Simulate a WM_COMMAND here, as wxWindows expects all control
|
||||
// Simulate a WM_COMMAND here, as wxWidgets expects all control
|
||||
// button clicks to generate WM_COMMAND msgs, not WM_CONTROL
|
||||
//
|
||||
if (pWin->IsKindOf(CLASSINFO(wxRadioBox)))
|
||||
@@ -2814,7 +2814,7 @@ MRESULT wxWindowOS2::OS2WindowProc(
|
||||
break;
|
||||
}
|
||||
//
|
||||
// Simulate a WM_COMMAND here, as wxWindows expects all control
|
||||
// Simulate a WM_COMMAND here, as wxWidgets expects all control
|
||||
// button clicks to generate WM_COMMAND msgs, not WM_CONTROL
|
||||
//
|
||||
if (pWin->IsKindOf(CLASSINFO(wxListBox)))
|
||||
@@ -3386,7 +3386,7 @@ bool wxWindowOS2::OS2OnDrawItem(
|
||||
);
|
||||
vDc.SetHPS(pMeasureStruct->hps);
|
||||
//
|
||||
// Load the wxWindows Pallete and set to RGB mode
|
||||
// Load the wxWidgets Pallete and set to RGB mode
|
||||
//
|
||||
if (!::GpiCreateLogColorTable( pMeasureStruct->hps
|
||||
,0L
|
||||
@@ -3962,7 +3962,7 @@ void wxWindowOS2::InitMouseEvent(
|
||||
int nHeight;
|
||||
DoGetSize(0, &nHeight);
|
||||
rEvent.m_x = nX;
|
||||
// Convert to wxWindows standard coordinate system!
|
||||
// Convert to wxWidgets standard coordinate system!
|
||||
rEvent.m_y = nHeight - nY;
|
||||
rEvent.m_shiftDown = ((uFlags & KC_SHIFT) != 0);
|
||||
rEvent.m_controlDown = ((uFlags & KC_CTRL) != 0);
|
||||
@@ -4388,7 +4388,7 @@ void wxWindowOS2::MoveChildren(
|
||||
//
|
||||
// Getting the Y position for a window, like a control, is a real
|
||||
// pain. There are three sitatuions we must deal with in determining
|
||||
// the OS2 to wxWindows Y coordinate.
|
||||
// the OS2 to wxWidgets Y coordinate.
|
||||
//
|
||||
// 1) The controls are created in a dialog.
|
||||
// This is the easiest since a dialog is created with its original
|
||||
@@ -4900,7 +4900,7 @@ const char* wxGetMessageName(
|
||||
// Beginning of user defined messages
|
||||
case 0x1000: return "WM_USER";
|
||||
|
||||
// wxWindows user defined types
|
||||
// wxWidgets user defined types
|
||||
|
||||
// listview
|
||||
// case 0x1000 + 0: return "LVM_GETBKCOLOR";
|
||||
|
||||
Reference in New Issue
Block a user