git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2782
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
while (node)
{
wxWindow *win = (wxWindow *)node->Data();
while (node)
{
wxWindow *win = (wxWindow *)node->Data();
- if (win->GetName() != "")
+ if (win->GetName() != _T(""))
{
wxProperty *prop = m_propertySheet->GetProperty(win->GetName());
if (prop)
{
wxProperty *prop = m_propertySheet->GetProperty(win->GetName());
if (prop)
if (!m_propertySheet)
return;
if (!m_propertySheet)
return;
- if (win.GetName() == "")
+ if (win.GetName() == _T(""))
return;
if (wxStrcmp(win.GetName(), _T("ok")) == 0)
return;
if (wxStrcmp(win.GetName(), _T("ok")) == 0)
wxString stringValueRepr(property->GetValue().GetStringRepresentation());
wxString paddedString(MakeNameValueString(property->GetName(), stringValueRepr));
wxString stringValueRepr(property->GetValue().GetStringRepresentation());
wxString paddedString(MakeNameValueString(property->GetName(), stringValueRepr));
- m_propertyScrollingList->Append(paddedString.GetData(), (char *)property);
+ m_propertyScrollingList->Append(paddedString.GetData(), (void *)property);
node = node->Next();
}
return TRUE;
node = node->Next();
}
return TRUE;
bool wxPropertyListValidator::OnValueListSelect(wxProperty *property, wxPropertyListView *view, wxWindow *WXUNUSED(parentWindow))
{
wxString s(view->GetValueList()->GetStringSelection());
bool wxPropertyListValidator::OnValueListSelect(wxProperty *property, wxPropertyListView *view, wxWindow *WXUNUSED(parentWindow))
{
wxString s(view->GetValueList()->GetStringSelection());
{
view->GetValueText()->SetValue(s);
view->RetrieveProperty(property);
{
view->GetValueText()->SetValue(s);
view->RetrieveProperty(property);
m_filenameWildCard.GetData(),
0,
parentWindow);
m_filenameWildCard.GetData(),
0,
parentWindow);
{
property->GetValue() = s;
view->DisplayProperty(property);
{
property->GetValue() = s;
view->DisplayProperty(property);
wxChar *initialText = _T("");
wxNode *node = m_stringList->Add(initialText);
wxChar *initialText = _T("");
wxNode *node = m_stringList->Add(initialText);
- m_listBox->Append(initialText, (wxChar *)node);
+ m_listBox->Append(initialText, (void *)node);
m_currentSelection = m_stringList->Number() - 1;
m_listBox->SetSelection(m_currentSelection);
ShowCurrentSelection();
m_currentSelection = m_stringList->Number() - 1;
m_listBox->SetSelection(m_currentSelection);
ShowCurrentSelection();