Small fixes for compiling Cygwin (with --disable-sockets)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#include "wx/msw/wrapwin.h"
|
||||
|
||||
#ifdef __WXWINCE__
|
||||
#if defined(__WXWINCE__)
|
||||
#include <winsock.h>
|
||||
#endif
|
||||
|
||||
|
@@ -282,7 +282,7 @@ public:
|
||||
virtual bool IsEditable() const = 0;
|
||||
|
||||
// more readable flag testing methods
|
||||
bool IsSingleLine() const { return !(GetWindowStyle() & wxTE_MULTILINE); }
|
||||
bool IsSingleLine() const { return !HasFlag(wxTE_MULTILINE); }
|
||||
bool IsMultiLine() const { return !IsSingleLine(); }
|
||||
|
||||
// If the return values from and to are the same, there is no selection.
|
||||
|
Reference in New Issue
Block a user