globally renamed uint to size_t. This has _not_ been checked under Windows,
although I changed msw files also, so please wait until this evening if you want to be sure that it compiles. This change should fix 64 bit compilation problems, but it would be nice to test it... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,7 +57,7 @@ void wxDropTarget::RegisterWidget( GtkWidget *widget )
|
||||
wxString formats;
|
||||
int valid = 0;
|
||||
|
||||
for ( uint i = 0; i < GetFormatCount(); i++ )
|
||||
for ( size_t i = 0; i < GetFormatCount(); i++ )
|
||||
{
|
||||
wxDataFormat df = GetFormat( i );
|
||||
switch (df)
|
||||
@@ -150,7 +150,7 @@ void gtk_drag_callback( GtkWidget *widget, GdkEvent *event, wxDropSource *source
|
||||
|
||||
wxDataObject *data = source->m_data;
|
||||
|
||||
uint size = data->GetDataSize();
|
||||
size_t size = data->GetDataSize();
|
||||
char *ptr = new char[size];
|
||||
data->GetDataHere( ptr );
|
||||
|
||||
|
Reference in New Issue
Block a user