Fix wxGTK build with wxUSE_DISPLAY==0
Add the missing "new" keyword.
This commit is contained in:
@@ -298,7 +298,7 @@ protected:
|
||||
|
||||
wxDisplayFactory* wxDisplay::CreateFactory()
|
||||
{
|
||||
return wxDisplayFactorySingleGTK;
|
||||
return new wxDisplayFactorySingleGTK;
|
||||
}
|
||||
|
||||
#endif // wxUSE_DISPLAY/!wxUSE_DISPLAY
|
||||
|
Reference in New Issue
Block a user