Typo GtkPizza,
More debug printf()s in GSocket_Write() Did I touch plot.cpp ? git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -712,7 +712,7 @@ gtk_pizza_expose (GtkWidget *widget,
|
|||||||
|
|
||||||
/* Sometimes, We handle all expose events in window.cpp now. */
|
/* Sometimes, We handle all expose events in window.cpp now. */
|
||||||
if (pizza->external_expose)
|
if (pizza->external_expose)
|
||||||
return;
|
return FALSE;
|
||||||
|
|
||||||
if (event->window != pizza->bin_window)
|
if (event->window != pizza->bin_window)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@@ -712,7 +712,7 @@ gtk_pizza_expose (GtkWidget *widget,
|
|||||||
|
|
||||||
/* Sometimes, We handle all expose events in window.cpp now. */
|
/* Sometimes, We handle all expose events in window.cpp now. */
|
||||||
if (pizza->external_expose)
|
if (pizza->external_expose)
|
||||||
return;
|
return FALSE;
|
||||||
|
|
||||||
if (event->window != pizza->bin_window)
|
if (event->window != pizza->bin_window)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@@ -742,9 +742,15 @@ int GSocket_Write(GSocket *socket, const char *buffer, int size)
|
|||||||
if (ret == -1)
|
if (ret == -1)
|
||||||
{
|
{
|
||||||
if (errno == EWOULDBLOCK)
|
if (errno == EWOULDBLOCK)
|
||||||
|
{
|
||||||
socket->m_error = GSOCK_WOULDBLOCK;
|
socket->m_error = GSOCK_WOULDBLOCK;
|
||||||
|
printf( "GSocket_Write error WOULDBLOCK\n" );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
socket->m_error = GSOCK_IOERR;
|
socket->m_error = GSOCK_IOERR;
|
||||||
|
printf( "GSocket_Write error IOERR\n" );
|
||||||
|
}
|
||||||
|
|
||||||
/* Only reenable OUTPUT events after an error (just like WSAAsyncSelect
|
/* Only reenable OUTPUT events after an error (just like WSAAsyncSelect
|
||||||
* in MSW). Once the first OUTPUT event is received, users can assume
|
* in MSW). Once the first OUTPUT event is received, users can assume
|
||||||
|
Reference in New Issue
Block a user