git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5271
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
samples/life/bitmaps/*.xpm
samples/life/bitmaps/*.bmp
samples/life/bitmaps/*.xpm
samples/life/bitmaps/*.bmp
+samples/calendar/*.cpp
+samples/calendar/*.h
+samples/calendar/makefile*
+samples/calendar/*.rc
+samples/calendar/*.def
+samples/calendar/*.ico
+samples/calendar/*.xpm
+samples/calendar/*.txt
+
samples/menu/Makefile.in
samples/console/Makefile.in
samples/life/Makefile.in
samples/menu/Makefile.in
samples/console/Makefile.in
samples/life/Makefile.in
+samples/calendar/Makefile.in
utils/glcanvas/motif/Makefile.in
utils/Makefile.in
utils/wxMMedia2/Makefile.in
utils/glcanvas/motif/Makefile.in
utils/Makefile.in
utils/wxMMedia2/Makefile.in
set wise=0
Rem Set this to the required version
set wise=0
Rem Set this to the required version
if "%src" == "" goto usage
if "%dest" == "" goto usage
if "%src" == "" goto usage
if "%dest" == "" goto usage
+\membersection{wxClipboard::AddData}\label{wxclipboardadddata}
+
+\func{bool}{AddData}{\param{wxDataObject*}{ data}}
+
+Call this function to add the data object to the clipboard. You may call
+this function repeatedly after having cleared the clipboard using \helpref{wxClipboard::Clear}{wxclipboardclear}.
+
+After this function has been called, the clipboard owns the data, so do not delete
+the data explicitly.
+
+\wxheading{See also}
+
+\helpref{wxClipboard::SetData}{wxclipboardsetdata}
+
\membersection{wxClipboard::Clear}\label{wxclipboardclear}
\func{void}{Clear}{\void}
\membersection{wxClipboard::Clear}\label{wxclipboardclear}
\func{void}{Clear}{\void}
Call this function to fill {\it data} with data on the clipboard, if available in the required
format. Returns TRUE on success.
Call this function to fill {\it data} with data on the clipboard, if available in the required
format. Returns TRUE on success.
+\membersection{wxClipboard::IsOpened}\label{wxclipboardisopened}
+
+\constfunc{bool}{IsOpened}{\void}
+
+Returns TRUE if the clipboard has been opened.
+
\membersection{wxClipboard::IsSupported}\label{wxclipboardissupported}
\func{bool}{IsSupported}{\param{const wxDataFormat\&}{ format}}
\membersection{wxClipboard::IsSupported}\label{wxclipboardissupported}
\func{bool}{IsSupported}{\param{const wxDataFormat\&}{ format}}
clear all previous contents in the clipboard, so calling it several times
does not make any sense.
clear all previous contents in the clipboard, so calling it several times
does not make any sense.
+After this function has been called, the clipboard owns the data, so do not delete
+the data explicitly.
+
+\wxheading{See also}
+
+\helpref{wxClipboard::AddData}{wxclipboardadddata}
+
\membersection{wxClipboard::UsePrimarySelection}\label{wxclipboarduseprimary}
\func{void}{UsePrimarySelection}{\param{bool}{ primary = TRUE}}
\membersection{wxClipboard::UsePrimarySelection}\label{wxclipboarduseprimary}
\func{void}{UsePrimarySelection}{\param{bool}{ primary = TRUE}}
void wxShape::AssignNewIds()
{
// if (m_id == 0)
void wxShape::AssignNewIds()
{
// if (m_id == 0)
wxNode *node = m_children.First();
while (node)
{
wxNode *node = m_children.First();
while (node)
{
void wxShape::ReadAttributes(wxExpr *clause)
{
clause->GetAttributeValue("id", m_id);
void wxShape::ReadAttributes(wxExpr *clause)
{
clause->GetAttributeValue("id", m_id);
clause->GetAttributeValue("x", m_xpos);
clause->GetAttributeValue("y", m_ypos);
clause->GetAttributeValue("x", m_xpos);
clause->GetAttributeValue("y", m_ypos);
wxShape *object = (wxShape *)node->Data();
wxShape *newObject = object->CreateNewCopy(FALSE, FALSE);
if (newObject->GetId() == 0)
wxShape *object = (wxShape *)node->Data();
wxShape *newObject = object->CreateNewCopy(FALSE, FALSE);
if (newObject->GetId() == 0)
- newObject->SetId(NewId());
+ newObject->SetId(wxNewId());
newObject->SetParent(&compositeCopy);
compositeCopy.m_children.Append(newObject);
newObject->SetParent(&compositeCopy);
compositeCopy.m_children.Append(newObject);
{
m_constraints.Append(constraint);
if (constraint->m_constraintId == 0)
{
m_constraints.Append(constraint);
if (constraint->m_constraintId == 0)
- constraint->m_constraintId = NewId();
+ constraint->m_constraintId = wxNewId();
{
wxOGLConstraint *constraint = new wxOGLConstraint(type, constraining, constrained);
if (constraint->m_constraintId == 0)
{
wxOGLConstraint *constraint = new wxOGLConstraint(type, constraining, constrained);
if (constraint->m_constraintId == 0)
- constraint->m_constraintId = NewId();
+ constraint->m_constraintId = wxNewId();
m_constraints.Append(constraint);
return constraint;
}
m_constraints.Append(constraint);
return constraint;
}
l.Append(constrained);
wxOGLConstraint *constraint = new wxOGLConstraint(type, constraining, l);
if (constraint->m_constraintId == 0)
l.Append(constrained);
wxOGLConstraint *constraint = new wxOGLConstraint(type, constraining, l);
if (constraint->m_constraintId == 0)
- constraint->m_constraintId = NewId();
+ constraint->m_constraintId = wxNewId();
m_constraints.Append(constraint);
return constraint;
}
m_constraints.Append(constraint);
return constraint;
}
void OnMenu(wxCommandEvent& event);
void OnMenu(wxCommandEvent& event);
};
BEGIN_EVENT_TABLE(OGLPopupDivisionMenu, wxMenu)
};
BEGIN_EVENT_TABLE(OGLPopupDivisionMenu, wxMenu)
arrowId = id_expr->IntegerValue();
if (arrowId == -1)
arrowId = id_expr->IntegerValue();
if (arrowId == -1)
wxArrowHead *arrowHead = AddArrow(arrowType, arrowEnd, arrowSize, xOffset, (char*) (const char*) arrowName, NULL, arrowId);
if (yOffsetExpr)
wxArrowHead *arrowHead = AddArrow(arrowType, arrowEnd, arrowSize, xOffset, (char*) (const char*) arrowName, NULL, arrowId);
if (yOffsetExpr)
m_metaFile = mf;
m_id = arrowId;
if (m_id == -1)
m_metaFile = mf;
m_id = arrowId;
if (m_id == -1)
}
wxArrowHead::wxArrowHead(wxArrowHead& toCopy)
}
wxArrowHead::wxArrowHead(wxArrowHead& toCopy)
m_metaFile = new wxPseudoMetaFile(*(toCopy.m_metaFile));
else
m_metaFile = NULL;
m_metaFile = new wxPseudoMetaFile(*(toCopy.m_metaFile));
else
m_metaFile = NULL;
}
wxArrowHead::~wxArrowHead()
}
wxArrowHead::~wxArrowHead()
wxExpr *clause = (wxExpr *)node->Data();
long id = -1;
clause->GetAttributeValue("id", id);
wxExpr *clause = (wxExpr *)node->Data();
long id = -1;
clause->GetAttributeValue("id", id);