Fix menu position on Windows

This commit is contained in:
Rolando Islas
2015-12-31 18:55:03 -07:00
parent 33af87aaf2
commit 3094d15f8f
2 changed files with 26 additions and 1 deletions
+4 -1
View File
@@ -18,7 +18,6 @@ public:
~IconMenu();
void mouseDown(const MouseEvent&);
static void menuInvocationCallback(int id, IconMenu*);
static void doReloadWithDefaultLocations(int id, IconMenu*);
void changeListenerCallback(ChangeBroadcaster* changed);
private:
#if JUCE_MAC
@@ -45,6 +44,10 @@ private:
AudioProcessorPlayer player;
AudioProcessorGraph::Node *inputNode;
AudioProcessorGraph::Node *outputNode;
#if JUCE_WINDOWS
int x, y;
#endif
#if !JUCE_MAC
class PluginListWindow;
ScopedPointer<PluginListWindow> pluginListWindow;