Added start at accessibility functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
30
src/common/accesscmn.cpp
Normal file
30
src/common/accesscmn.cpp
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Name: common/accesscmn.cpp
|
||||||
|
// Author: Julian Smart
|
||||||
|
// Modified by:
|
||||||
|
// Created: 2003-02-12
|
||||||
|
// RCS-ID: $Id$
|
||||||
|
// Copyright: (c) Julian Smart
|
||||||
|
// Licence: wxWindows licence
|
||||||
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// headers
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma implementation "accessbase.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
#ifdef __BORLANDC__
|
||||||
|
#pragma hdrstop
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
|
||||||
|
#include "wx/access.h"
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
@@ -57,6 +57,10 @@
|
|||||||
#include "wx/dnd.h"
|
#include "wx/dnd.h"
|
||||||
#endif // wxUSE_DRAG_AND_DROP
|
#endif // wxUSE_DRAG_AND_DROP
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
#include "wx/access.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#if wxUSE_HELP
|
#if wxUSE_HELP
|
||||||
#include "wx/cshelp.h"
|
#include "wx/cshelp.h"
|
||||||
#endif // wxUSE_HELP
|
#endif // wxUSE_HELP
|
||||||
@@ -180,6 +184,10 @@ void wxWindowBase::InitBase()
|
|||||||
m_hasCustomPalette = FALSE;
|
m_hasCustomPalette = FALSE;
|
||||||
#endif // wxUSE_PALETTE
|
#endif // wxUSE_PALETTE
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
m_accessible = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
m_virtualSize = wxDefaultSize;
|
m_virtualSize = wxDefaultSize;
|
||||||
|
|
||||||
m_minVirtualWidth =
|
m_minVirtualWidth =
|
||||||
@@ -302,6 +310,11 @@ wxWindowBase::~wxWindowBase()
|
|||||||
delete m_tooltip;
|
delete m_tooltip;
|
||||||
#endif // wxUSE_TOOLTIPS
|
#endif // wxUSE_TOOLTIPS
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
if ( m_accessible )
|
||||||
|
delete m_accessible;
|
||||||
|
#endif
|
||||||
|
|
||||||
// reset the dangling pointer our parent window may keep to us
|
// reset the dangling pointer our parent window may keep to us
|
||||||
if ( m_parent && m_parent->GetDefaultItem() == this )
|
if ( m_parent && m_parent->GetDefaultItem() == this )
|
||||||
{
|
{
|
||||||
@@ -1933,6 +1946,36 @@ void wxWindowBase::OnMiddleClick( wxMouseEvent& event )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// accessibility
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
void wxWindowBase::SetAccessible(wxAccessible* accessible)
|
||||||
|
{
|
||||||
|
if (m_accessible)
|
||||||
|
delete m_accessible;
|
||||||
|
m_accessible = accessible;
|
||||||
|
if (m_accessible)
|
||||||
|
m_accessible->SetWindow((wxWindow*) this);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns the accessible object, creating if necessary.
|
||||||
|
wxAccessible* wxWindowBase::GetOrCreateAccessible()
|
||||||
|
{
|
||||||
|
if (!m_accessible)
|
||||||
|
m_accessible = CreateAccessible();
|
||||||
|
return m_accessible;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Override to create a specific accessible object.
|
||||||
|
wxAccessible* wxWindowBase::CreateAccessible()
|
||||||
|
{
|
||||||
|
return new wxWindowAccessible((wxWindow*) this);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// list classes implementation
|
// list classes implementation
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
@@ -2047,4 +2090,255 @@ wxWindow* wxGetTopLevelParent(wxWindow *win)
|
|||||||
return win;
|
return win;
|
||||||
}
|
}
|
||||||
|
|
||||||
// vi:sts=4:sw=4:et
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// accessible object for windows
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
// Can return either a child object, or an integer
|
||||||
|
// representing the child element, starting from 1.
|
||||||
|
wxAccStatus wxWindowAccessible::HitTest(const wxPoint& pt, int* childId, wxAccessible** childObject)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns the rectangle for this object (id = 0) or a child element (id > 0).
|
||||||
|
wxAccStatus wxWindowAccessible::GetLocation(wxRect& rect, int elementId)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Navigates from fromId to toId/toObject.
|
||||||
|
wxAccStatus wxWindowAccessible::Navigate(wxNavDir navDir, int fromId,
|
||||||
|
int* toId, wxAccessible** toObject)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets the name of the specified object.
|
||||||
|
wxAccStatus wxWindowAccessible::GetName(int childId, wxString* name)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
wxString title(GetWindow()->GetTitle());
|
||||||
|
if (!title.IsEmpty())
|
||||||
|
{
|
||||||
|
*name = title;
|
||||||
|
return wxACC_OK;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets the number of children.
|
||||||
|
wxAccStatus wxWindowAccessible::GetChildCount(int* childId)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
*childId = (int) GetWindow()->GetChildren().GetCount();
|
||||||
|
return wxACC_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets the specified child (starting from 1).
|
||||||
|
// If *child is NULL and return value is wxACC_OK,
|
||||||
|
// this means that the child is a simple element and
|
||||||
|
// not an accessible object.
|
||||||
|
wxAccStatus wxWindowAccessible::GetChild(int childId, wxAccessible** child)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
if (childId == 0)
|
||||||
|
{
|
||||||
|
*child = this;
|
||||||
|
return wxACC_OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (childId > (int) GetWindow()->GetChildren().GetCount())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
wxWindow* childWindow = (wxWindow*) GetWindow()->GetChildren().Nth(childId-1)->GetData();
|
||||||
|
*child = childWindow->GetOrCreateAccessible();
|
||||||
|
if (*child)
|
||||||
|
return wxACC_OK;
|
||||||
|
else
|
||||||
|
return wxACC_FAIL;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets the parent, or NULL.
|
||||||
|
wxAccStatus wxWindowAccessible::GetParent(wxAccessible** parent)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
wxWindow* parentWindow = GetWindow()->GetParent();
|
||||||
|
if (!parent)
|
||||||
|
{
|
||||||
|
*parent = NULL;
|
||||||
|
return wxACC_OK;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
*parent = parentWindow->GetOrCreateAccessible();
|
||||||
|
if (*parent)
|
||||||
|
return wxACC_OK;
|
||||||
|
else
|
||||||
|
return wxACC_FAIL;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Performs the default action. childId is 0 (the action for this object)
|
||||||
|
// or > 0 (the action for a child).
|
||||||
|
// Return wxACC_NOT_SUPPORTED if there is no default action for this
|
||||||
|
// window (e.g. an edit control).
|
||||||
|
wxAccStatus wxWindowAccessible::DoDefaultAction(int childId)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets the default action for this object (0) or > 0 (the action for a child).
|
||||||
|
// Return wxACC_OK even if there is no action. actionName is the action, or the empty
|
||||||
|
// string if there is no action.
|
||||||
|
// The retrieved string describes the action that is performed on an object,
|
||||||
|
// not what the object does as a result. For example, a toolbar button that prints
|
||||||
|
// a document has a default action of "Press" rather than "Prints the current document."
|
||||||
|
wxAccStatus wxWindowAccessible::GetDefaultAction(int childId, wxString* actionName)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns the description for this object or a child.
|
||||||
|
wxAccStatus wxWindowAccessible::GetDescription(int childId, wxString* description)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns help text for this object or a child, similar to tooltip text.
|
||||||
|
wxAccStatus wxWindowAccessible::GetHelpText(int childId, wxString* helpText)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
wxString ht(GetWindow()->GetHelpText());
|
||||||
|
if (!ht.IsEmpty())
|
||||||
|
{
|
||||||
|
*helpText = ht;
|
||||||
|
return wxACC_OK;
|
||||||
|
}
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns the keyboard shortcut for this object or child.
|
||||||
|
// Return e.g. ALT+K
|
||||||
|
wxAccStatus wxWindowAccessible::GetKeyboardShortcut(int childId, wxString* shortcut)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns a role constant.
|
||||||
|
wxAccStatus wxWindowAccessible::GetRole(int childId, wxAccRole* role)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns a state constant.
|
||||||
|
wxAccStatus wxWindowAccessible::GetState(int childId, long* state)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Returns a localized string representing the value for the object
|
||||||
|
// or child.
|
||||||
|
wxAccStatus wxWindowAccessible::GetValue(int childId, wxString* strValue)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Selects the object or child.
|
||||||
|
wxAccStatus wxWindowAccessible::Select(int childId, wxAccSelectionFlags selectFlags)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets the window with the keyboard focus.
|
||||||
|
// If childId is 0 and child is NULL, no object in
|
||||||
|
// this subhierarchy has the focus.
|
||||||
|
// If this object has the focus, child should be 'this'.
|
||||||
|
wxAccStatus wxWindowAccessible::GetFocus(int* childId, wxAccessible** child)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Gets a variant representing the selected children
|
||||||
|
// of this object.
|
||||||
|
// Acceptable values:
|
||||||
|
// - a null variant (IsNull() returns TRUE)
|
||||||
|
// - a list variant (GetType() == wxT("list")
|
||||||
|
// - an integer representing the selected child element,
|
||||||
|
// or 0 if this object is selected (GetType() == wxT("long")
|
||||||
|
// - a "void*" pointer to a wxAccessible child object
|
||||||
|
wxAccStatus wxWindowAccessible::GetSelections(wxVariant* selections)
|
||||||
|
{
|
||||||
|
wxASSERT( GetWindow() != NULL );
|
||||||
|
if (!GetWindow())
|
||||||
|
return wxACC_FAIL;
|
||||||
|
|
||||||
|
return wxACC_NOT_IMPLEMENTED;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_ACCESSIBILITY
|
||||||
|
1599
src/msw/ole/access.cpp
Normal file
1599
src/msw/ole/access.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#define _FORCENAMELESSUNION
|
#define _FORCENAMELESSUNION
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
|
#include "wx/msw/ole/oleutils.h"
|
||||||
#include "wx/msw/ole/automtn.h"
|
#include "wx/msw/ole/automtn.h"
|
||||||
#include "wx/msw/private.h"
|
#include "wx/msw/private.h"
|
||||||
|
|
||||||
@@ -41,39 +42,6 @@
|
|||||||
#include <ole2ver.h>
|
#include <ole2ver.h>
|
||||||
#include <oleauto.h>
|
#include <oleauto.h>
|
||||||
|
|
||||||
// wrapper around BSTR type (by Vadim Zeitlin)
|
|
||||||
|
|
||||||
class WXDLLEXPORT BasicString
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
// ctors & dtor
|
|
||||||
BasicString(const char *sz);
|
|
||||||
~BasicString();
|
|
||||||
|
|
||||||
// accessors
|
|
||||||
// just get the string
|
|
||||||
operator BSTR() const { return m_wzBuf; }
|
|
||||||
// retrieve a copy of our string - caller must SysFreeString() it later!
|
|
||||||
BSTR Get() const { return SysAllocString(m_wzBuf); }
|
|
||||||
|
|
||||||
private:
|
|
||||||
// @@@ not implemented (but should be)
|
|
||||||
BasicString(const BasicString&);
|
|
||||||
BasicString& operator=(const BasicString&);
|
|
||||||
|
|
||||||
OLECHAR *m_wzBuf; // actual string
|
|
||||||
};
|
|
||||||
|
|
||||||
// Convert variants
|
|
||||||
static bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant) ;
|
|
||||||
static bool ConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant) ;
|
|
||||||
|
|
||||||
// Convert string to Unicode
|
|
||||||
static BSTR ConvertStringToOle(const wxString& str);
|
|
||||||
|
|
||||||
// Convert string from BSTR to wxString
|
|
||||||
static wxString ConvertStringFromOle(BSTR bStr);
|
|
||||||
|
|
||||||
// Verifies will fail if the needed buffer size is too large
|
// Verifies will fail if the needed buffer size is too large
|
||||||
#define MAX_TIME_BUFFER_SIZE 128 // matches that in timecore.cpp
|
#define MAX_TIME_BUFFER_SIZE 128 // matches that in timecore.cpp
|
||||||
#define MIN_DATE (-657434L) // about year 100
|
#define MIN_DATE (-657434L) // about year 100
|
||||||
@@ -154,7 +122,7 @@ bool wxAutomationObject::Invoke(const wxString& member, int action,
|
|||||||
|
|
||||||
int namedArgStringCount = namedArgCount + 1;
|
int namedArgStringCount = namedArgCount + 1;
|
||||||
BSTR* argNames = new BSTR[namedArgStringCount];
|
BSTR* argNames = new BSTR[namedArgStringCount];
|
||||||
argNames[0] = ConvertStringToOle(member);
|
argNames[0] = wxConvertStringToOle(member);
|
||||||
|
|
||||||
// Note that arguments are specified in reverse order
|
// Note that arguments are specified in reverse order
|
||||||
// (all totally logical; hey, we're dealing with OLE here.)
|
// (all totally logical; hey, we're dealing with OLE here.)
|
||||||
@@ -164,7 +132,7 @@ bool wxAutomationObject::Invoke(const wxString& member, int action,
|
|||||||
{
|
{
|
||||||
if (!INVOKEARG(i).GetName().IsNull())
|
if (!INVOKEARG(i).GetName().IsNull())
|
||||||
{
|
{
|
||||||
argNames[(namedArgCount-j)] = ConvertStringToOle(INVOKEARG(i).GetName());
|
argNames[(namedArgCount-j)] = wxConvertStringToOle(INVOKEARG(i).GetName());
|
||||||
j ++;
|
j ++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -203,7 +171,7 @@ bool wxAutomationObject::Invoke(const wxString& member, int action,
|
|||||||
for (i = 0; i < noArgs; i++)
|
for (i = 0; i < noArgs; i++)
|
||||||
{
|
{
|
||||||
// Again, reverse args
|
// Again, reverse args
|
||||||
if (!ConvertVariantToOle(INVOKEARG((noArgs-1) - i), oleArgs[i]))
|
if (!wxConvertVariantToOle(INVOKEARG((noArgs-1) - i), oleArgs[i]))
|
||||||
{
|
{
|
||||||
delete[] argNames;
|
delete[] argNames;
|
||||||
delete[] dispIds;
|
delete[] dispIds;
|
||||||
@@ -252,7 +220,7 @@ bool wxAutomationObject::Invoke(const wxString& member, int action,
|
|||||||
if (vReturnPtr)
|
if (vReturnPtr)
|
||||||
{
|
{
|
||||||
// Convert result to wxVariant form
|
// Convert result to wxVariant form
|
||||||
ConvertOleToVariant(vReturn, retValue);
|
wxConvertOleToVariant(vReturn, retValue);
|
||||||
// Mustn't release the dispatch pointer
|
// Mustn't release the dispatch pointer
|
||||||
if (vReturn.vt == VT_DISPATCH)
|
if (vReturn.vt == VT_DISPATCH)
|
||||||
{
|
{
|
||||||
@@ -534,7 +502,7 @@ bool wxAutomationObject::GetInstance(const wxString& classId) const
|
|||||||
CLSID clsId;
|
CLSID clsId;
|
||||||
IUnknown * pUnk = NULL;
|
IUnknown * pUnk = NULL;
|
||||||
|
|
||||||
BasicString unicodeName(classId.mb_str());
|
wxBasicString unicodeName(classId.mb_str());
|
||||||
|
|
||||||
if (FAILED(CLSIDFromProgID((BSTR) unicodeName, &clsId)))
|
if (FAILED(CLSIDFromProgID((BSTR) unicodeName, &clsId)))
|
||||||
{
|
{
|
||||||
@@ -566,7 +534,7 @@ bool wxAutomationObject::CreateInstance(const wxString& classId) const
|
|||||||
|
|
||||||
CLSID clsId;
|
CLSID clsId;
|
||||||
|
|
||||||
BasicString unicodeName(classId.mb_str());
|
wxBasicString unicodeName(classId.mb_str());
|
||||||
|
|
||||||
if (FAILED(CLSIDFromProgID((BSTR) unicodeName, &clsId)))
|
if (FAILED(CLSIDFromProgID((BSTR) unicodeName, &clsId)))
|
||||||
{
|
{
|
||||||
@@ -585,7 +553,7 @@ bool wxAutomationObject::CreateInstance(const wxString& classId) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
|
bool wxConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
|
||||||
{
|
{
|
||||||
ClearVariant(&oleVariant);
|
ClearVariant(&oleVariant);
|
||||||
if (variant.IsNull())
|
if (variant.IsNull())
|
||||||
@@ -629,7 +597,7 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
|
|||||||
{
|
{
|
||||||
wxString str( variant.GetString() );
|
wxString str( variant.GetString() );
|
||||||
oleVariant.vt = VT_BSTR;
|
oleVariant.vt = VT_BSTR;
|
||||||
oleVariant.bstrVal = ConvertStringToOle(str);
|
oleVariant.bstrVal = wxConvertStringToOle(str);
|
||||||
}
|
}
|
||||||
// For some reason, Watcom C++ can't link variant.cpp with time/date classes compiled
|
// For some reason, Watcom C++ can't link variant.cpp with time/date classes compiled
|
||||||
#if wxUSE_TIMEDATE && !defined(__WATCOMC__)
|
#if wxUSE_TIMEDATE && !defined(__WATCOMC__)
|
||||||
@@ -683,7 +651,7 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
|
|||||||
{
|
{
|
||||||
// copy each string in the list of strings
|
// copy each string in the list of strings
|
||||||
wxVariant eachVariant(variant[i]);
|
wxVariant eachVariant(variant[i]);
|
||||||
if (!ConvertVariantToOle(eachVariant, * pvarg))
|
if (!wxConvertVariantToOle(eachVariant, * pvarg))
|
||||||
{
|
{
|
||||||
// memory failure: back out and free strings alloc'ed up to
|
// memory failure: back out and free strings alloc'ed up to
|
||||||
// now, and then the array itself.
|
// now, and then the array itself.
|
||||||
@@ -715,13 +683,13 @@ bool ConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant)
|
|||||||
#define VT_TYPEMASK 0xfff
|
#define VT_TYPEMASK 0xfff
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool ConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant)
|
bool wxConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant)
|
||||||
{
|
{
|
||||||
switch (oleVariant.vt & VT_TYPEMASK)
|
switch (oleVariant.vt & VT_TYPEMASK)
|
||||||
{
|
{
|
||||||
case VT_BSTR:
|
case VT_BSTR:
|
||||||
{
|
{
|
||||||
wxString str(ConvertStringFromOle(oleVariant.bstrVal));
|
wxString str(wxConvertStringFromOle(oleVariant.bstrVal));
|
||||||
variant = str;
|
variant = str;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -794,7 +762,7 @@ bool ConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant)
|
|||||||
{
|
{
|
||||||
VARIANTARG& oleElement = pvdata[i];
|
VARIANTARG& oleElement = pvdata[i];
|
||||||
wxVariant vElement;
|
wxVariant vElement;
|
||||||
if (!ConvertOleToVariant(oleElement, vElement))
|
if (!wxConvertOleToVariant(oleElement, vElement))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
variant.Append(vElement);
|
variant.Append(vElement);
|
||||||
@@ -825,7 +793,7 @@ bool ConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static BSTR ConvertStringToOle(const wxString& str)
|
BSTR wxConvertStringToOle(const wxString& str)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
unsigned int len = strlen((const char*) str);
|
unsigned int len = strlen((const char*) str);
|
||||||
@@ -835,11 +803,11 @@ static BSTR ConvertStringToOle(const wxString& str)
|
|||||||
for (i=0; i < len; i++)
|
for (i=0; i < len; i++)
|
||||||
s[i*2] = str[i];
|
s[i*2] = str[i];
|
||||||
*/
|
*/
|
||||||
BasicString bstr(str.mb_str());
|
wxBasicString bstr(str.mb_str());
|
||||||
return bstr.Get();
|
return bstr.Get();
|
||||||
}
|
}
|
||||||
|
|
||||||
static wxString ConvertStringFromOle(BSTR bStr)
|
wxString wxConvertStringFromOle(BSTR bStr)
|
||||||
{
|
{
|
||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
wxString str(bStr);
|
wxString str(bStr);
|
||||||
@@ -854,19 +822,37 @@ static wxString ConvertStringFromOle(BSTR bStr)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// BasicString
|
// wxBasicString
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
// ctor takes an ANSI string and transforms it to Unicode
|
// ctor takes an ANSI string and transforms it to Unicode
|
||||||
BasicString::BasicString(const char *sz)
|
wxBasicString::wxBasicString(const char *sz)
|
||||||
|
{
|
||||||
|
Init(sz);
|
||||||
|
}
|
||||||
|
|
||||||
|
// ctor takes an ANSI or Unicode string and transforms it to Unicode
|
||||||
|
wxBasicString::wxBasicString(const wxString& str)
|
||||||
|
{
|
||||||
|
#if wxUSE_UNICODE
|
||||||
|
m_wzBuf = new OLECHAR[str.Length() + 1];
|
||||||
|
memcpy(m_wzBuf, str.c_str(), str.Length()*2);
|
||||||
|
m_wzBuf[str.Length()] = L'\0';
|
||||||
|
#else
|
||||||
|
Init(str.c_str());
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
// Takes an ANSI string and transforms it to Unicode
|
||||||
|
void wxBasicString::Init(const char *sz)
|
||||||
{
|
{
|
||||||
// get the size of required buffer
|
// get the size of required buffer
|
||||||
UINT lenAnsi = strlen(sz);
|
UINT lenAnsi = strlen(sz);
|
||||||
#ifdef __MWERKS__
|
#ifdef __MWERKS__
|
||||||
UINT lenWide = lenAnsi * 2 ;
|
UINT lenWide = lenAnsi * 2 ;
|
||||||
#else
|
#else
|
||||||
UINT lenWide = mbstowcs(NULL, sz, lenAnsi);
|
UINT lenWide = mbstowcs(NULL, sz, lenAnsi);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( lenWide > 0 ) {
|
if ( lenWide > 0 ) {
|
||||||
m_wzBuf = new OLECHAR[lenWide + 1];
|
m_wzBuf = new OLECHAR[lenWide + 1];
|
||||||
@@ -879,7 +865,7 @@ BasicString::BasicString(const char *sz)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// dtor frees memory
|
// dtor frees memory
|
||||||
BasicString::~BasicString()
|
wxBasicString::~wxBasicString()
|
||||||
{
|
{
|
||||||
delete [] m_wzBuf;
|
delete [] m_wzBuf;
|
||||||
}
|
}
|
||||||
|
@@ -58,6 +58,17 @@
|
|||||||
#include "wx/dnd.h"
|
#include "wx/dnd.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
#include "wx/access.h"
|
||||||
|
#include <oleacc.h>
|
||||||
|
#ifndef WM_GETOBJECT
|
||||||
|
#define WM_GETOBJECT 0x003D
|
||||||
|
#endif
|
||||||
|
#ifndef OBJID_CLIENT
|
||||||
|
#define OBJID_CLIENT 0xFFFFFFFC
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/menuitem.h"
|
#include "wx/menuitem.h"
|
||||||
#include "wx/log.h"
|
#include "wx/log.h"
|
||||||
|
|
||||||
@@ -2827,6 +2838,20 @@ long wxWindowMSW::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
#if wxUSE_ACCESSIBILITY
|
||||||
|
case WM_GETOBJECT:
|
||||||
|
{
|
||||||
|
//WPARAM dwFlags = (WPARAM) (DWORD) wParam;
|
||||||
|
LPARAM dwObjId = (LPARAM) (DWORD) lParam;
|
||||||
|
|
||||||
|
if (dwObjId == OBJID_CLIENT && GetOrCreateAccessible())
|
||||||
|
{
|
||||||
|
return LresultFromObject(IID_IAccessible, wParam, (IUnknown*) GetAccessible()->GetIAccessible());
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__WIN32__) && defined(WM_HELP)
|
#if defined(__WIN32__) && defined(WM_HELP)
|
||||||
case WM_HELP:
|
case WM_HELP:
|
||||||
{
|
{
|
||||||
|
@@ -2,8 +2,8 @@
|
|||||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||||
# ** DO NOT EDIT **
|
# ** DO NOT EDIT **
|
||||||
|
|
||||||
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
|
||||||
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
|
||||||
|
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
||||||
|
|
||||||
CFG=wxWindows - Win32 Debug
|
CFG=wxWindows - Win32 Debug
|
||||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||||
@@ -32,8 +32,6 @@ CFG=wxWindows - Win32 Debug
|
|||||||
# PROP AllowPerConfigDependencies 0
|
# PROP AllowPerConfigDependencies 0
|
||||||
# PROP Scc_ProjName ""
|
# PROP Scc_ProjName ""
|
||||||
# PROP Scc_LocalPath ""
|
# PROP Scc_LocalPath ""
|
||||||
CPP=cl.exe
|
|
||||||
RSC=rc.exe
|
|
||||||
|
|
||||||
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
|
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
|
||||||
|
|
||||||
@@ -48,10 +46,13 @@ RSC=rc.exe
|
|||||||
# PROP Intermediate_Dir "../ReleaseUnicodeDll"
|
# PROP Intermediate_Dir "../ReleaseUnicodeDll"
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
|
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdllu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdllu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
MTL=midl.exe
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
|
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -74,18 +75,21 @@ LINK32=link.exe
|
|||||||
# PROP Intermediate_Dir "../DebugUnicodeDll"
|
# PROP Intermediate_Dir "../DebugUnicodeDll"
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
|
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
|
||||||
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdllud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdllud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
MTL=midl.exe
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
|
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw250ud.dll"
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /out:"../lib/wxmsw250ud.dll" /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw250ud.dll"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /out:"../lib/wxmsw250ud.dll" /pdbtype:sept
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
|
||||||
|
|
||||||
@@ -99,8 +103,10 @@ LINK32=link.exe
|
|||||||
# PROP Output_Dir "../lib"
|
# PROP Output_Dir "../lib"
|
||||||
# PROP Intermediate_Dir "../ReleaseUnicode"
|
# PROP Intermediate_Dir "../ReleaseUnicode"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswu" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409
|
# ADD BASE RSC /l 0x409
|
||||||
# ADD RSC /l 0x409
|
# ADD RSC /l 0x409
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -122,8 +128,10 @@ LIB32=link.exe -lib
|
|||||||
# PROP Output_Dir "../lib"
|
# PROP Output_Dir "../lib"
|
||||||
# PROP Intermediate_Dir "../DebugUnicode"
|
# PROP Intermediate_Dir "../DebugUnicode"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswud" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /D "_UNICODE" /D "UNICODE" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409
|
# ADD BASE RSC /l 0x409
|
||||||
# ADD RSC /l 0x409
|
# ADD RSC /l 0x409
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -146,10 +154,13 @@ LIB32=link.exe -lib
|
|||||||
# PROP Intermediate_Dir "../ReleaseDll"
|
# PROP Intermediate_Dir "../ReleaseDll"
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
|
# ADD BASE CPP /nologo /MD /W4 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdll" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/mswdll" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
MTL=midl.exe
|
||||||
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||||
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||||
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
|
# ADD RSC /l 0x409 /i "../include" /d "NDEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -172,18 +183,21 @@ LINK32=link.exe
|
|||||||
# PROP Intermediate_Dir "../DebugDll"
|
# PROP Intermediate_Dir "../DebugDll"
|
||||||
# PROP Ignore_Export_Lib 0
|
# PROP Ignore_Export_Lib 0
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
|
# ADD BASE CPP /nologo /MDd /W4 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "WXWINDLL_EXPORTS" /YX /FD /GZ /c
|
||||||
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdlld" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswdlld" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "_USRDLL" /D "WIN32" /D "_DEBUG" /D WINVER=0x0400 /D "STRICT" /D "WXMAKINGDLL" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
MTL=midl.exe
|
||||||
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||||
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||||
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
|
# ADD RSC /l 0x409 /i "../include" /d "_DEBUG"
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
# ADD BASE BSC32 /nologo
|
# ADD BASE BSC32 /nologo
|
||||||
# ADD BSC32 /nologo
|
# ADD BSC32 /nologo
|
||||||
LINK32=link.exe
|
LINK32=link.exe
|
||||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw250d.dll"
|
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /dll /debug /machine:I386 /out:"../lib/wxmsw250d.dll" /pdbtype:sept
|
||||||
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /pdbtype:sept /out:"../lib/wxmsw250d.dll"
|
# ADD LINK32 kernel32.lib user32.lib gdi32.lib advapi32.lib comdlg32.lib shell32.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib rpcrt4.lib comctl32.lib wsock32.lib winmm.lib ..\lib\jpegd.lib ..\lib\tiffd.lib ..\lib\pngd.lib ..\lib\regexd.lib ..\lib\zlibd.lib /nologo /version:2.3 /dll /debug /machine:I386 /out:"../lib/wxmsw250d.dll" /pdbtype:sept
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
|
||||||
|
|
||||||
@@ -197,8 +211,10 @@ LINK32=link.exe
|
|||||||
# PROP Output_Dir "../lib"
|
# PROP Output_Dir "../lib"
|
||||||
# PROP Intermediate_Dir "../Release"
|
# PROP Intermediate_Dir "../Release"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /MD /W4 /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MD /W4 /O2 /I "../lib/msw" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "NDEBUG" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409
|
# ADD BASE RSC /l 0x409
|
||||||
# ADD RSC /l 0x409
|
# ADD RSC /l 0x409
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -220,8 +236,10 @@ LIB32=link.exe -lib
|
|||||||
# PROP Output_Dir "../lib"
|
# PROP Output_Dir "../lib"
|
||||||
# PROP Intermediate_Dir "../Debug"
|
# PROP Intermediate_Dir "../Debug"
|
||||||
# PROP Target_Dir ""
|
# PROP Target_Dir ""
|
||||||
|
CPP=cl.exe
|
||||||
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
# ADD BASE CPP /nologo /MDd /W4 /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||||
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswd" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
# ADD CPP /nologo /MDd /W4 /Zi /Od /I "../lib/mswd" /I "../include" /I "./zlib" /I "./jpeg" /I "./png" /I "./regex" /I "./tiff" /D "WIN32" /D "_DEBUG" /D "__WXDEBUG__" /D WINVER=0x0400 /D "STRICT" /Yu"wx/wxprec.h" /FD /c
|
||||||
|
RSC=rc.exe
|
||||||
# ADD BASE RSC /l 0x409
|
# ADD BASE RSC /l 0x409
|
||||||
# ADD RSC /l 0x409
|
# ADD RSC /l 0x409
|
||||||
BSC32=bscmake.exe
|
BSC32=bscmake.exe
|
||||||
@@ -248,6 +266,10 @@ LIB32=link.exe -lib
|
|||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\common\accesscmn.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\common\appcmn.cpp
|
SOURCE=.\common\appcmn.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -352,6 +374,12 @@ SOURCE=.\common\docview.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\common\dosyacc.c
|
||||||
|
# ADD CPP /W1 /D "USE_DEFINE" /D "IDE_INVOKED"
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\common\dseldlg.cpp
|
SOURCE=.\common\dseldlg.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -380,6 +408,11 @@ SOURCE=.\common\event.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\common\extended.c
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\common\fddlgcmn.cpp
|
SOURCE=.\common\fddlgcmn.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -708,6 +741,11 @@ SOURCE=.\common\txtstrm.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\common\unzip.c
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\common\url.cpp
|
SOURCE=.\common\url.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -758,24 +796,6 @@ SOURCE=.\common\zipstrm.cpp
|
|||||||
|
|
||||||
SOURCE=.\common\zstream.cpp
|
SOURCE=.\common\zstream.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\common\extended.c
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\common\unzip.c
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
# End Source File
|
|
||||||
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\common\dosyacc.c
|
|
||||||
# ADD CPP /W1 /D "USE_DEFINE" /D "IDE_INVOKED"
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
# End Source File
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "Generic Files"
|
# Begin Group "Generic Files"
|
||||||
|
|
||||||
@@ -904,7 +924,6 @@ SOURCE=.\generic\treelay.cpp
|
|||||||
|
|
||||||
SOURCE=.\generic\wizard.cpp
|
SOURCE=.\generic\wizard.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "wxHTML Files"
|
# Begin Group "wxHTML Files"
|
||||||
|
|
||||||
@@ -989,18 +1008,44 @@ SOURCE=.\html\m_tables.cpp
|
|||||||
|
|
||||||
SOURCE=.\html\winpars.cpp
|
SOURCE=.\html\winpars.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "MSW Files"
|
# Begin Group "MSW Files"
|
||||||
|
|
||||||
|
# PROP Default_Filter ""
|
||||||
|
# Begin Group "OLE Files"
|
||||||
|
|
||||||
# PROP Default_Filter ""
|
# PROP Default_Filter ""
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\msw\dummy.cpp
|
SOURCE=.\msw\ole\access.cpp
|
||||||
# ADD CPP /Yc"wx/wxprec.h"
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\ole\automtn.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\ole\dataobj.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\ole\dropsrc.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\ole\droptgt.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\ole\oleutils.cpp
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\ole\uuid.cpp
|
||||||
|
# End Source File
|
||||||
|
# End Group
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\msw\accel.cpp
|
SOURCE=.\msw\accel.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -1125,6 +1170,11 @@ SOURCE=.\msw\dragimag.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\dummy.cpp
|
||||||
|
# ADD CPP /Yc"wx/wxprec.h"
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\msw\enhmeta.cpp
|
SOURCE=.\msw\enhmeta.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -1177,6 +1227,16 @@ SOURCE=.\msw\glcanvas.cpp
|
|||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\gsocket.c
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
|
SOURCE=.\msw\gsockmsw.c
|
||||||
|
# SUBTRACT CPP /YX /Yc /Yu
|
||||||
|
# End Source File
|
||||||
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=.\msw\helpbest.cpp
|
SOURCE=.\msw\helpbest.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
# Begin Source File
|
# Begin Source File
|
||||||
@@ -1407,47 +1467,6 @@ SOURCE=.\msw\wave.cpp
|
|||||||
|
|
||||||
SOURCE=.\msw\window.cpp
|
SOURCE=.\msw\window.cpp
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\gsocket.c
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\gsockmsw.c
|
|
||||||
# SUBTRACT CPP /YX /Yc /Yu
|
|
||||||
# End Source File
|
|
||||||
|
|
||||||
# Begin Group "OLE Files"
|
|
||||||
|
|
||||||
# PROP Default_Filter ""
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\ole\automtn.cpp
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\ole\dataobj.cpp
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\ole\dropsrc.cpp
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\ole\droptgt.cpp
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\ole\oleutils.cpp
|
|
||||||
# End Source File
|
|
||||||
# Begin Source File
|
|
||||||
|
|
||||||
SOURCE=.\msw\ole\uuid.cpp
|
|
||||||
# End Source File
|
|
||||||
|
|
||||||
# End Group
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "Headers"
|
# Begin Group "Headers"
|
||||||
|
|
||||||
@@ -1458,7 +1477,9 @@ SOURCE=.\msw\ole\uuid.cpp
|
|||||||
# Begin Source File
|
# Begin Source File
|
||||||
|
|
||||||
SOURCE=..\include\wx\msw\setup.h
|
SOURCE=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
|
!IF "$(CFG)" == "wxWindows - Win32 Release Unicode DLL"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswdllu\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswdllu\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1466,7 +1487,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswdllu\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswdllu\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode DLL"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswdllud\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswdllud\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1474,7 +1497,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswdllud\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswdllud\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release Unicode"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswu\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswu\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1482,7 +1507,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswu\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswu\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug Unicode"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswud\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswud\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1490,7 +1517,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswud\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswud\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release DLL"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release DLL"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswdll\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswdll\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1498,7 +1527,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswdll\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswdll\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug DLL"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswdlld\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswdlld\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1506,7 +1537,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswdlld\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswdlld\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Release"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\msw\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\msw\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1514,7 +1547,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\msw\wx\setup.h
|
copy "$(InputPath)" ..\lib\msw\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
|
!ELSEIF "$(CFG)" == "wxWindows - Win32 Debug"
|
||||||
|
|
||||||
# Begin Custom Build - Creating ..\lib\mswd\wx\setup.h from $(InputPath)
|
# Begin Custom Build - Creating ..\lib\mswd\wx\setup.h from $(InputPath)
|
||||||
InputPath=..\include\wx\msw\setup.h
|
InputPath=..\include\wx\msw\setup.h
|
||||||
|
|
||||||
@@ -1522,7 +1557,9 @@ InputPath=..\include\wx\msw\setup.h
|
|||||||
copy "$(InputPath)" ..\lib\mswd\wx\setup.h
|
copy "$(InputPath)" ..\lib\mswd\wx\setup.h
|
||||||
|
|
||||||
# End Custom Build
|
# End Custom Build
|
||||||
|
|
||||||
!ENDIF
|
!ENDIF
|
||||||
|
|
||||||
# End Source File
|
# End Source File
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "Common"
|
# Begin Group "Common"
|
||||||
@@ -2484,7 +2521,6 @@ SOURCE=..\include\wx\zipstrm.h
|
|||||||
|
|
||||||
SOURCE=..\include\wx\zstream.h
|
SOURCE=..\include\wx\zstream.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "MSW"
|
# Begin Group "MSW"
|
||||||
|
|
||||||
@@ -2865,7 +2901,6 @@ SOURCE=..\include\wx\msw\window.h
|
|||||||
|
|
||||||
SOURCE=..\include\wx\msw\winundef.h
|
SOURCE=..\include\wx\msw\winundef.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "Generic"
|
# Begin Group "Generic"
|
||||||
|
|
||||||
@@ -3030,7 +3065,6 @@ SOURCE=..\include\wx\generic\treectlg.h
|
|||||||
|
|
||||||
SOURCE=..\include\wx\generic\wizard.h
|
SOURCE=..\include\wx\generic\wizard.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# End Group
|
# End Group
|
||||||
# Begin Group "HTML"
|
# Begin Group "HTML"
|
||||||
|
|
||||||
@@ -3087,7 +3121,6 @@ SOURCE=..\include\wx\html\m_templ.h
|
|||||||
|
|
||||||
SOURCE=..\include\wx\html\winpars.h
|
SOURCE=..\include\wx\html\winpars.h
|
||||||
# End Source File
|
# End Source File
|
||||||
|
|
||||||
# End Group
|
# End Group
|
||||||
# End Group
|
# End Group
|
||||||
# End Target
|
# End Target
|
||||||
|
Reference in New Issue
Block a user