1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Move declaration of createSnapshotOfNativeWindow to module header

This commit is contained in:
reuk 2021-09-13 15:13:24 +01:00
parent c3c171acaf
commit 31500551e1
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11
3 changed files with 4 additions and 2 deletions

View file

@ -161,6 +161,10 @@ namespace juce
class FlexBox;
class Grid;
#if JUCE_MAC || JUCE_WINDOWS
Image createSnapshotOfNativeWindow (void* nativeWindowHandle);
#endif
}
#include "mouse/juce_MouseCursor.h"

View file

@ -634,7 +634,6 @@ static Image createNSWindowSnapshot (NSWindow* nsWindow)
}
}
Image createSnapshotOfNativeWindow (void*);
Image createSnapshotOfNativeWindow (void* nativeWindowHandle)
{
if (id windowOrView = (id) nativeWindowHandle)

View file

@ -969,7 +969,6 @@ private:
};
//==============================================================================
Image createSnapshotOfNativeWindow (void*);
Image createSnapshotOfNativeWindow (void* nativeWindowHandle)
{
auto hwnd = (HWND) nativeWindowHandle;