WXPROPDIR = $(WXDIR)\utils\wxprop
WXPROPINC = $(WXPROPDIR)\src
WXPROPLIB = $(WXDIR)\lib\wxprop.lib
-LIBS=$(WXLIB) $(WXPROPLIB) cw32 import32
+LIBS=$(WXLIB) $(WXPROPLIB) cw32 import32 ole2w32
INCFILE = includes.cfg
TARGET=dialoged
wxWindow *w = (wxWindow *)node->Data();
if (w == win)
{
- return (wxItemResource *)node->key.integer;
+ return (wxItemResource *)node->GetKeyInteger();
}
}
return NULL;
else
imageId = 3;
- long id = m_editorResourceTree->AppendItem(parent, theString, imageId );
+ long id = m_editorResourceTree->InsertItem(parent, theString
+#ifdef __WXMSW__
+ , imageId
+#endif
+ );
m_editorResourceTree->SetItemData(id, new wxResourceTreeData(resource));
#if wxUSE_IOSTREAMH
#if defined(__WXMSW__) && !defined(__GNUWIN32__)
#include <strstrea.h>
+#include <fstream.h>
#else
#include <strstream.h>
#include <fstream.h>
#include <fstream>
#endif
-
#include "wx/scrolbar.h"
#include "wx/string.h"
wxNode* node = m_hashTable.Next();
while (node)
{
- char* str = node->key.string;
+ const char* str = node->GetKeyString();
int id = (int) node->Data() ;
if (!IsStandardSymbol(str))
wxNode* node = m_hashTable.Next();
while (node)
{
- char* str = node->key.string;
+ const char* str = node->GetKeyString();
if (str && ( ((int) node->Data()) == id) )
return wxString(str);
wxNode* node = m_hashTable.Next();
while (node)
{
- char* str = node->key.string;
+ const char* str = node->GetKeyString();
comboBox->Append(str);
node = m_hashTable.Next();
}
else if (name == "height")
{
- return new wxProperty("width", (long)resource->GetHeight(), "integer");
+ return new wxProperty("height", (long)resource->GetHeight(), "integer");
}
else if (name == "id")
{